@@ -210,6 +212,33 @@
These types are provided for all platforms.
+
+
+
+ The following macros are always defined after inclusion of this header, these
+ allow integer constants of at least the specified width to be declared: INT8_C,
+ UINT8_C, INT16_C, UINT16_C, INT32_C, UINT32_C, INTMAX_C, UINTMAX_C.
+
+
+ The macros INT64_C and UINT64_C are also defined if the the macro BOOST_NO_INT64_T
+ is not defined.
+
+
+ The C99 macro __STDC_CONSTANT_MACROS is also defined as an artifact of the
+ implementation.
+
+
+ For example:
+
+
#include <boost/cstdint.hpp>
+
+static const boost::uint64_t c = INT64_C(0x1FFFFFFFF);
+
+
|
diff --git a/doc/html/boost_integer/history.html b/doc/html/boost_integer/history.html
index a1f76ff..b92217e 100644
--- a/doc/html/boost_integer/history.html
+++ b/doc/html/boost_integer/history.html
@@ -26,7 +26,7 @@
History
-
diff --git a/doc/html/boost_integer/integer.html b/doc/html/boost_integer/integer.html
index f2da95a..8c022fa 100644
--- a/doc/html/boost_integer/integer.html
+++ b/doc/html/boost_integer/integer.html
@@ -139,7 +139,7 @@
fast
. The following table describes each template's criteria.
-
Table 1. Criteria for the Sized Type Class Templates
+
Table 1. Criteria for the Sized Type Class Templates
diff --git a/doc/html/boost_integer/mask.html b/doc/html/boost_integer/mask.html
index c069740..f7bfc12 100644
--- a/doc/html/boost_integer/mask.html
+++ b/doc/html/boost_integer/mask.html
@@ -105,7 +105,7 @@
of high_bit_mask_t
.
-
Table 2. Members of the `boost::high_bit_mask_t` Class Template
+
Table 2. Members of the `boost::high_bit_mask_t` Class Template
@@ -204,7 +204,7 @@
type. The following table describes the members of low_bits_mask_t
.
-
Table 3. Members of the [^boost::low_bits_mask_t] Class Template
+
Table 3. Members of the [^boost::low_bits_mask_t] Class Template
diff --git a/doc/html/index.html b/doc/html/index.html
index 71cfd32..97bf531 100644
--- a/doc/html/index.html
+++ b/doc/html/index.html
@@ -40,7 +40,7 @@
Copyright © 2001 -2009 Beman Dawes, Daryle Walker, Gennaro Prota,
John Maddock
-Last revised: November 28, 2009 at 17:06:38 GMT |
+Last revised: December 11, 2009 at 17:54:58 GMT |
|
diff --git a/doc/integer.qbk b/doc/integer.qbk
index b9d9361..c5d6e70 100644
--- a/doc/integer.qbk
+++ b/doc/integer.qbk
@@ -188,6 +188,26 @@ The typedef [^uintmax_t] designates an unsigned integer type capable of represen
These types are provided for all platforms.
[endsect]
+
+[section Integer Constant Macros]
+
+The following macros are always defined after inclusion of this header, these allow
+integer constants of at least the specified width to be declared:
+INT8_C, UINT8_C, INT16_C, UINT16_C, INT32_C, UINT32_C, INTMAX_C, UINTMAX_C.
+
+The macros INT64_C and UINT64_C are also defined if the the macro BOOST_NO_INT64_T is not defined.
+
+The C99 macro __STDC_CONSTANT_MACROS is also defined as an artifact of the implementation.
+
+For example:
+
+ #include
+
+ // Here the constant 0x1FFFFFFFF has the correct suffix applied:
+ static const boost::uint64_t c = INT64_C(0x1FFFFFFFF);
+
+[endsect]
+
[endsect]
[section:traits Integer Traits]