Skip to content

Register fixed size string array-like type #381

Description

@Belfer

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>
class CString;

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions