the output shows the last registration of the type std::map<int, int> survives.
'''
type std::vector : 0
type std::set : 0
type std::map<int, int> : 1
'''
If I register only std::vector or std::set or std::map<int, int>, either type will be valid then.
I tried to understand why but couldn't get the root cause yet.
Could you please help? Thanks!
@acki-m
by tracking the registration process, when registering std::set after std::vector, the name of std::vector will be changed by function rttr::type_register_private::derive_template_instance_name.
Hello,
I am wondering if I can register containers with rttr and I found it works well. But the following case happens:
‘’‘
’‘’
the output shows the last registration of the type std::map<int, int> survives.
'''
type std::vector : 0
type std::set : 0
type std::map<int, int> : 1
'''
If I register only std::vector or std::set or std::map<int, int>, either type will be valid then.
I tried to understand why but couldn't get the root cause yet.
Could you please help? Thanks!
@acki-m