|
Boost : |
Subject: Re: [boost] [type_traits] Plans to add C++11 type traits?
From: John Bytheway (jbytheway+boost_at_[hidden])
Date: 2011-04-18 15:13:05
On 18/04/11 08:25, John Maddock wrote:
>>> Now that C++11 (formerly C++0x) is done, are there any plans to add
>>> the type traits to Boost that we don't already have?
>>
>> 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.
John Bytheway
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk