forked from boostorg/static_assert
@ -131,7 +131,7 @@ Suppose we have a template-class that requires an unsigned integral type with
|
|||||||
at least 16-bits of precision as a template argument, we can achieve this
|
at least 16-bits of precision as a template argument, we can achieve this
|
||||||
using something like this:
|
using something like this:
|
||||||
|
|
||||||
#include <climits>
|
#include <limits>
|
||||||
#include <boost/static_assert.hpp>
|
#include <boost/static_assert.hpp>
|
||||||
|
|
||||||
template <class UnsignedInt>
|
template <class UnsignedInt>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
// See http://www.boost.org for most recent version including documentation.
|
// See http://www.boost.org for most recent version including documentation.
|
||||||
|
|
||||||
#include <climits>
|
#include <limits>
|
||||||
#include <boost/limits.hpp>
|
#include <boost/limits.hpp>
|
||||||
#include <boost/static_assert.hpp>
|
#include <boost/static_assert.hpp>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user