diff --git a/doc/html/boost_integer/cstdint.html b/doc/html/boost_integer/cstdint.html index 94f8546..d233f43 100644 --- a/doc/html/boost_integer/cstdint.html +++ b/doc/html/boost_integer/cstdint.html @@ -38,6 +38,8 @@ minimum-width integer types
Greatest-width integer types
+
Integer + Constant Macros

@@ -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>
+
+// Here the constant 0x1FFFFFFFF has the correct suffix applied:
+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
- + 1.42.0
    @@ -55,7 +55,7 @@
- + 1.32.0
  • 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 @@
-

+

Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

@@ -237,7 +237,7 @@
- +

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]