Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2004-04-30 05:13:35


> It seems to me that it would be better still to put
>
> #ifdef BOOST_NO_INTRINSIC_WCHAR_T
> BOOST_STATIC_ASSERT(is_same<unsigned short, wchar_t>::value);
> #else
> BOOST_STATIC_ASSERT(!is_same<unsigned short, wchar_t>::value);
> #endif
>
> after the conditional definition of BOOST_NO_INTRINSIC_WCHAR_T to
> verify that the macro has been set/unset correctly.

Not a bad idea, but it brings in a lot of type-traits code that may not
actually be needed...

John.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net