
19 Apr
2011
19 Apr
'11
7:52 a.m.
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.