$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
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).
Agreed
>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
http://ourworld.compuserve.com/homepages/john_maddock/