diff --git a/doc/html/boost_integer/cstdint.html b/doc/html/boost_integer/cstdint.html index d233f43..b709cfc 100644 --- a/doc/html/boost_integer/cstdint.html +++ b/doc/html/boost_integer/cstdint.html @@ -3,7 +3,7 @@
boost
instead.
BOOST_NO_INT64_T
.
The following minimum-width integer types are provided for all platforms:
-int_least8_t
int_least16_t
int_least32_t
uint_least8_t
uint_least16_t
uint_least32_t
int_least8_t
int_least16_t
int_least32_t
uint_least8_t
uint_least16_t
uint_least32_t
The following types are available only if, after including <boost/cstdint.hpp>, the macro BOOST_NO_INT64_T is not defined:
-int_least64_t
uint_least64_t
int_least64_t
uint_least64_t
All other minimum-width integer types are optional.
The following fastest minimum-width integer types are provided for all platforms:
-int_fast8_t
int_fast16_t
int_fast32_t
uint_fast8_t
uint_fast16_t
uint_fast32_t
int_fast8_t
int_fast16_t
int_fast32_t
uint_fast8_t
uint_fast16_t
uint_fast32_t
The following types are available only if, after including <boost/cstdint.hpp>, the macro BOOST_NO_INT64_T is not defined:
-int_fast64_t
uint_fast64_t
int_fast64_t
uint_fast64_t
All other fastest minimum-width integer types are optional.
boost::static_log2
, boost::static_signed_min
,
boost::static_signed_max
, boost::static_unsigned_min
boost::static_unsigned_max
,
when available.
boost::static_signed_min
etc are now typedef'd. Formerly, they were hardcoded as unsigned
long
and int
respectively. Please, use the provided
@@ -55,10 +55,10 @@
boost::static_log2
are now typedef'd. Formerly, they were hardcoded as unsigned long
and int
respectively. Please, use the provided typedefs
diff --git a/doc/html/boost_integer/integer.html b/doc/html/boost_integer/integer.html
index 8c022fa..4078a26 100644
--- a/doc/html/boost_integer/integer.html
+++ b/doc/html/boost_integer/integer.html
@@ -3,7 +3,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
- - Class Template - - |
+
- - Template Parameter Mapping - - |
+
---|---|
-
- |
+
- - The smallest, built-in, signed integral type with at least N - bits, including the sign bit. The parameter should be a positive number. - A compile-time error results if the parameter is larger than the number - of bits in the largest integer type. - - |
+
-
- |
+
- - The easiest-to-manipulate, built-in, signed integral type with at least - N bits, including the sign bit. The parameter - should be a positive number. A compile-time error results if the parameter - is larger than the number of bits in the largest integer type. - - |
+
-
- |
+
- - A built-in, signed integral type with exactly N - bits, including the sign bit. The parameter should be a positive number. - Note that the member exact is defined only if there exists a type with exactly N - bits. - - |
+
-
- |
+
- - The smallest, built-in, unsigned integral type with at least N - bits. The parameter should be a positive number. A compile-time error - results if the parameter is larger than the number of bits in the largest - integer type. - - |
+
-
- |
+
- - The easiest-to-manipulate, built-in, unsigned integral type with at - least N bits. The parameter should be a positive - number. A compile-time error results if the parameter is larger than - the number of bits in the largest integer type. - - |
+
-
- |
+
- - A built-in, unsigned integral type with exactly N - bits. The parameter should be a positive number. A compile-time error - results if the parameter is larger than the number of bits in the largest - integer type. Note that the member exact is defined - only if there exists a type with exactly - N bits. - - |
+
-
- |
+
- - The smallest, built-in, signed integral type that can hold all the - values in the inclusive range 0 - V. The parameter - should be a positive number. - - |
+
-
- |
+
- - The easiest-to-manipulate, built-in, signed integral type that can - hold all the values in the inclusive range 0 - V. - The parameter should be a positive number. - - |
+
-
- |
+
- - The smallest, built-in, signed integral type that can hold all the - values in the inclusive range V - 0. The parameter - should be a negative number. - - |
+
-
- |
+
- - The easiest-to-manipulate, built-in, signed integral type that can - hold all the values in the inclusive range V - 0. - The parameter should be a negative number. - - |
+
-
- |
+
- - The smallest, built-in, unsigned integral type that can hold all positive - values up to and including V. The parameter should - be a positive number. - - |
+
-
- |
+
- - The easiest-to-manipulate, built-in, unsigned integral type that can - hold all positive values up to and including V. - The parameter should be a positive number. - - |
+
The rationale for the design of the templates in this header includes:
-Note:
-static_log2_argument_type
is an unsigned integer
type (C++ standard, 3.9.1p3).
static_log2_result_type
is an integer type
(C++ standard, 3.9.1p7).
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
- - Member - - |
+
- - Meaning - - |
+
---|---|
-
- |
+
- - The smallest, unsigned, built-in type that supports the given bit position. - - |
+
-
- |
+
-
- The easiest-to-manipulate analog of |
+
-
- |
+
-
- A |
+
-
- |
+
-
- A |
+
-
- |
+
- - The value of the template parameter, in case its needed from a renamed - instantiation of the class template. - - |
+
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
- - Member - - |
+
- - Meaning - - |
+
---|---|
-
- |
+
- - The smallest, unsigned built-in type that supports the given bit count. - - |
+
-
- |
+
-
- The easiest-to-manipulate analog of |
+
-
- |
+
-
- A |
+
-
- |
+
-
- A |
+
-
- |
+
- - The value of the template parameter, in case its needed from a renamed - instantiation of the class template. - - |
+
integer_traits
addresses this problem.
- member -
++ member +
- type -
++ type +
- value -
++ value +
- is_integral
-
+ is_integral
+
- bool -
++ bool +
- true
-
+ true
+
- const_min
-
+ const_min
+
- T
-
+ T
+
- equivalent to std::numeric_limits<T>::min()
-
+ equivalent to std::numeric_limits<T>::min()
+
- const_max
-
+ const_max
+
- T
-
+ T
+
- equivalent to std::numeric_limits<T>::max()
-
+ equivalent to std::numeric_limits<T>::max()
+
integer_traits
class.
Copyright © 2001 -2009 Beman Dawes, Daryle Walker, Gennaro Prota, John Maddock
+
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)
@@ -61,7 +61,7 @@- Component -
++ Component +
- Header -
++ Header +
- Purpose -
++ Purpose +
- Forward Declarations. -
++ Forward Declarations. +
- Forward declarations of classes and class templates - for use when - just the name of a class is needed. -
++ Forward declarations of classes and class templates - for use when + just the name of a class is needed. +
- Provides typedef's based on the 1999 C Standard header <stdint.h>
, wrapped in namespace boost. This
- implementation may #include the compiler supplied <stdint.h>
,
- if present.
-
+ Provides typedef's based on the 1999 C Standard header <stdint.h>
, wrapped in namespace boost.
+ This implementation may #include the compiler supplied <stdint.h>
, if present.
+
- Integer Traits. -
++ Integer Traits. +
- Class template boost::integer_traits
, derives from
- std::numeric_limits
and adds const_min
- and const_max
members.
-
+ Class template boost::integer_traits
, derives
+ from std::numeric_limits
and adds const_min
+ and const_max
members.
+
- Templates for integer type selection based on properties such as maximum - value or number of bits: Use to select the type of an integer when - some property such as maximum value or number of bits is known. Useful - for generic programming. -
++ Templates for integer type selection based on properties such as + maximum value or number of bits: Use to select the type of an integer + when some property such as maximum value or number of bits is known. + Useful for generic programming. +
- Integer Masks. -
++ Integer Masks. +
- Templates for the selection of integer masks, single or lowest group, - based on the number of bits: Use to select a particular mask when the - bit position(s) are based on a compile-time variable. Useful for generic - programming. -
++ Templates for the selection of integer masks, single or lowest group, + based on the number of bits: Use to select a particular mask when + the bit position(s) are based on a compile-time variable. Useful + for generic programming. +
- Template for finding the highest power of two in a number: Use to find - the bit-size/range based on a maximum value. Useful for generic programming. -
++ Template for finding the highest power of two in a number: Use to + find the bit-size/range based on a maximum value. Useful for generic + programming. +
- Templates for finding the extrema of two numbers: Use to find a bound - based on a minimum or maximum value. Useful for generic programming. -
++ Templates for finding the extrema of two numbers: Use to find a bound + based on a minimum or maximum value. Useful for generic programming. +
Last revised: December 11, 2009 at 17:54:58 GMT |
+Last revised: April 05, 2010 at 07:20:03 GMT |