Boost logo

Boost :

From: John Maddock (John_Maddock_at_[hidden])
Date: 2001-01-21 07:42:34

>Speaking only for myself, I view the type_traits structs as answering:
>What is this? But I see std::numeric_limits answering: How does this
>behave? So, for example given the class BigInt, I would expect
>is_integral<BigInt> to answer false, is_class<BigInt> to answer true, and
>numeric_limits<BigInt>::is_integer to answer true (assuming BigInt's
>author had specialized numeric_limits).


>with the latter two requiring special effort (unfortunately).

Note that the new version of is_enum (in the development sub-tree) does
actually work without extra compiler help, which just leaves unions...

- John Maddock

Boost list run by bdawes at, gregod at, cpdaniel at, john at