Added trivial docs change, based on user suggestion, and brought example code into synch.

[SVN r34874]
This commit is contained in:
John Maddock
2006-08-11 18:14:13 +00:00
parent 7a0a3fbf32
commit 66dd3d2595
3 changed files with 13 additions and 7 deletions

View File

@ -7,6 +7,7 @@
#include <climits>
#include <cwchar>
#include <limits>
#include <boost/static_assert.hpp>
#if !defined(WCHAR_MIN)
@ -16,7 +17,7 @@
namespace boost{
namespace my_conditions {
BOOST_STATIC_ASSERT(sizeof(int) * CHAR_BIT >= 32);
BOOST_STATIC_ASSERT(std::numeric_limits<int>::digits >= 32);
BOOST_STATIC_ASSERT(WCHAR_MIN >= 0);
} // namespace my_conditions
@ -30,3 +31,4 @@ int main()