
25 Nov
2013
25 Nov
'13
1:23 a.m.
On 25/11/2013 13:42, Quoth Niall Douglas:
mangled_name() here is *guaranteed* to return exactly what std::type_info does, even if RTTI is turned off. I would expect such a facility to be highly useful for where boost::type_index binaries might be mixed with std::type_info binaries and you need to compare a type_index indexed type with a std::type_info indexed type. Also, of course, sometimes you really do want the exact symbol mangling to be returned because you're going to parse that mangling into a AST, and use that AST to auto-generate yourself some LLVM :).
Ah, I see. That would indeed be useful, provided it doesn't involve too many shenanigans to implement. ;)