Subject: Re: [boost] Peer Review Report for proposed Boost.TypeIndex v2.1 Nov 12th â 21st 2013
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2013-11-25 14:39:56
On Monday 25 November 2013 13:46:21 Niall Douglas wrote:
> 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.
No they don't. You can never test boost::type_index and std::type_info for
equivalence by comparing their names.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk