API Reference
Namespaces
| Namespace | Description |
|---|---|
|
Contains all components of the library except |
User-defined literals for 128-bit integers |
Structures
| Structure | Description |
|---|---|
Numeric limits specialization for |
|
Numeric limits specialization for |
|
Result type for |
|
Result type for |
Functions
Listed by analogous STL header.
<bit>
| Function | Description |
|---|---|
Checks if value is a power of two |
|
Counts leading zeros |
|
Counts leading ones |
|
Returns minimum bits needed to represent value |
|
Rounds up to nearest power of two |
|
Rounds down to nearest power of two |
|
Counts trailing zeros |
|
Counts trailing ones |
|
Rotates bits left |
|
Rotates bits right |
|
Counts number of set bits |
|
Reverses byte order |
<charconv>
| Function | Description |
|---|---|
Converts integer to character sequence |
|
Converts character sequence to integer |
Concepts
| Concept | Description |
|---|---|
Constrains to unsigned integer types |
|
Constrains to signed integer types |
|
Constrains to any integer type |
Macros
Constants (<boost/int128/climits.hpp>)
| Macro | Description |
|---|---|
|
Maximum value for |
|
Maximum value for |
|
Minimum value for |
Configuration
User Configuration
| Macro | Description |
|---|---|
Disables use of compiler built-in |
|
Allows comparison between signed and unsigned types |
|
Allows implicit sign conversion |
|
Disables exception throwing |