Is it possible to reflect the contained key and value types of associative and sequential containers, given only the rttr::type of the container?
I don't see a way of doing that, apart from get_template_arguments, but I think that it is a no-go since the positions of key and value types depend on the underlying container type.
Edit. My goal is to recursively visit an rttr::type and find specific kinds of metadata.
Is it possible to reflect the contained key and value types of associative and sequential containers, given only the
rttr::type
of the container?I don't see a way of doing that, apart from
get_template_arguments
, but I think that it is a no-go since the positions of key and value types depend on the underlying container type.Edit. My goal is to recursively visit an
rttr::type
and find specific kinds of metadata.