Open Brynnvincible opened 1 year ago
If I have a template class: template <class T> class Foo
template <class T> class Foo
I want to find if some rttr::type is any type that uses this template (for any T). Is there any way I can do this?
The only way I've found is to do: strstr(type.get_name().data(), "Foo") != 0
strstr(type.get_name().data(), "Foo") != 0
I wanted to know if there is a cleaner/better way to do it.
this project seems dead. so sad.
If I have a template class:
template <class T> class Foo
I want to find if some rttr::type is any type that uses this template (for any T). Is there any way I can do this?
The only way I've found is to do:
strstr(type.get_name().data(), "Foo") != 0
I wanted to know if there is a cleaner/better way to do it.