The organization of boost integer headers and classes is designed to take advantage of <stdint.h> types from the 1999 C standard without resorting to undefined behavior in terms of the 1998 C++ standard. The header <boost/cstdint.hpp> makes the standard integer types safely available in namespace boost without placing any names in namespace std
Boost.Integer, part of collection of the Boost C++ Libraries, provides
integer type support, particularly helpful in generic programming. It provides the means to select
an integer type based upon its properties, like the number of bits or the maximum supported value,
as well as compile-time bit mask selection. There is a derivative of std::numeric_limits
that provides
integral constant expressions for min
and max
...
Finally, it provides two compile-time algorithms: determining the highest power of two in a
compile-time value; and computing min and max of constant expressions.
... More
license | BSL-1.0 |
---|---|
project | boost |
url | github.com/boostorg/integer |
doc-url | www.boost.org/doc/libs/1_85_0/libs/integer |
boost-users@lists.boost.orgMailing list | |
topics | C++Boost |
5 Versions
version | 1.85.0 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 6; libboost-assert, libboost-config, libboost-core, libboost-static-assert, libboost-throw-exception, libboost-type-traits |
reviews | +1 |
version | 1.83.0 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 6; libboost-assert, libboost-config, libboost-core, libboost-static-assert, libboost-throw-exception, libboost-type-traits |
reviews | +1 |
version | 1.81.0+1 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 6; libboost-assert, libboost-config, libboost-core, libboost-static-assert, libboost-throw-exception, libboost-type-traits |
reviews | +1 |
version | 1.78.0 |
---|---|
repository | https://pkg.cppget.org/1/legacy |
depends | 5; libboost-assert, libboost-config, libboost-core, libboost-static-assert, libboost-throw-exception |
reviews | +1 |
version | 1.77.0+1 |
---|---|
repository | https://pkg.cppget.org/1/legacy |
depends | 5; libboost-assert, libboost-config, libboost-core, libboost-static-assert, libboost-throw-exception |
reviews | +1 |