Boost logo

Boost :

From: Larry Evans (cppljevans_at_[hidden])
Date: 2007-08-20 19:26:59

When just:

#include <boost/limits.hpp>

is just preprocessed, the output contains
no definition of CHAR_BIT; yet, it's used
(although within a #if..#endif) within
limits.hpp. Limits.hpp does contain:

# include <boost/detail/limits.hpp>
# include <limits>

which makes me wonder, since CHAR_BIT is used
below this code, whether the authors expected
CHAR_BIT to be defined at this point? BTW,
CHAR_BIT is defined in system header, limits.h.
The reason it hasn't caused a problem so far
was explained in another post:

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