Boost logo

Boost :

Subject: Re: [boost] [type_traits] Plans to add C++11 type traits?
From: John Maddock (boost.regex_at_[hidden])
Date: 2011-04-19 03:52:31


>>> Just as a side note, in about a week BoostPro will be pushing up an
>>> intrinsics-level implementation of most of these type traits into
>>> Clang, which
>>> should make it trivial to implement them for that compiler.
>>
>> Cool, but this is the problem really: as far as I can remember the
>> remaining C++11 traits all need compiler support - so the user might
>> just as well use the std:: versions?
>
> Pessimistic implementations can be provided for compilers which lack the
> intrinsics (e.g. make is_standard_layout forward to is_pod or just
> false). I believe Boost.TypeTraits already does this for some traits.

True enough, John.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk