|
Boost : |
Subject: Re: [boost] Peer Review Report for proposed Boost.TypeIndex v2.1 Nov 12th â 21st 2013
From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2013-11-25 13:46:21
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/
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk