
25 Nov
2013
25 Nov
'13
6:46 p.m.
On 25 Nov 2013 at 11:59, Andrey Semashev wrote:
mangled_name() is a double evil in my view, because in addition to the problems it causes it also requires us to implement mangling schemes (I see no point in this function if it simply throws on some platforms).
No one is suggesting one would use mangled_name() for anything except where you need to compare a boost::type_index<T> with a std::type_info for equality. There you can compare the strings returned by each for equality - if they are equal, they refer to the same type. Niall -- Currently unemployed and looking for work. Work Portfolio: http://careers.stackoverflow.com/nialldouglas/