forked from boostorg/static_assert
Added trivial docs change, based on user suggestion, and brought example code into synch.
[SVN r34874]
This commit is contained in:
@ -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()
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user