Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class MyTypeInfo{
- public:
- template<typename T>
- static const char * Name(){
- const char * n = strstr(__PRETTY_FUNCTION__, "with T = ") + 9;
- return n;
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement