Boost logo

Boost :

From: John Maddock (John_Maddock_at_[hidden])
Date: 2001-05-30 06:42:31

>> I think you're skipping something basic: there are limit macros for
> The macros WCHAR_MIN and WCHAR_MAX are #defined in <cwchar> instead.
> Furthermore, you should check the BOOST_NO_INTRINSIC_WCHAR_T macro in
> <boost/config.hpp> to make sure this specialization should be done.

Strictly sppeking you are correct, however this is a gcc specific fix, and
WCHAR_MIN/_MAX aren't defined, while wchar_t is always a distinct type for
that compiler (I think).

However I've updated to use WCHAR_MAX/_MIN when available, likewise guarded


- John Maddock

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