You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a string class with constant storage to avoid memory allocations on strings I know their fixed size, the class is defined as:
template <SizeType N>
classCString;
If I try to register a class with a property member of this type then the compiler will complain about not finding the type associated to it: 'rttr::type::get': no matching overloaded function found
Since it's a templated class I can't use the normal registration API, is there a workaround for this? Perhaps specialize some type implementation detail?
The text was updated successfully, but these errors were encountered:
Looking through the docs I saw sequential_container_mapper, which btw is mostly the same documentation as the associative_container_mapper , so the info there is incorrect, however, looking at the header it refers to: #include <sequential_mapper.h>
And while there is no specialization for the std::string type in this file, this is closer to what I'm trying to do.
If I can get a pointer to where the string type specialization is located I can work off that.
I have a string class with constant storage to avoid memory allocations on strings I know their fixed size, the class is defined as:
If I try to register a class with a property member of this type then the compiler will complain about not finding the type associated to it:
'rttr::type::get': no matching overloaded function found
Since it's a templated class I can't use the normal registration API, is there a workaround for this? Perhaps specialize some type implementation detail?
The text was updated successfully, but these errors were encountered: