Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2002-11-07 17:15:30

I notice that our type_traits headers still define:

   typedef char yes_type;
   typedef double no_type;

Which is non-portable w.r.t. sizeof() differences. Is there any reason
we can't change no_type to

   char (&)[2]


    struct { char[2] x; } // if it needs to be constructed


                       David Abrahams
   dave_at_[hidden] *
Boost support, enhancements, training, and commercial distribution

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