Is there any way whatsoever to use typeid in a template? I want to use typeid(classname).name(); and store that in a string, but I can't handle for a class I don't know of unless I can use that string in a template.
Is there any way to use something like
template<typeid(classname)>?