The dynamic_bitset class represents a set of bits. It provides accesses to the value of individual bits via an operator[] and provides all of the bitwise operators that one can apply to builtin integers, such as operatorsummary: boost-dynamic-bitset C++ library and operator<<. The number of bits in the set is specified at runtime via a parameter to the constructor of the dynamic_bitset
DynamicBitset, part of collection of the Boost C++ Libraries, is similar to std::bitset however the size is specified at run-time instead of at compile-time.
License
Distributed under the Boost Software License, Version 1.0.
Properties
- C++03
- Header-only
Build Status
Branch | GHA CI | Appveyor | Coverity Scan | codecov.io | Deps | Docs | Tests |
---|---|---|---|---|---|---|---|
master |
|||||||
develop |
Directories
Name | Purpose |
---|---|
example |
examples |
doc |
documentation |
include |
headers |
test |
unit tests |
More information
- Ask questions
- Report bugs: Be sure to mention Boost version, platform and compiler you're using. A small compilable code sample to reproduce the problem is always good as well.
- Submit your patches as pull requests against develop branch. Note that by submitting patches you agree to license your modifications under the Boost Software License, Version 1.0.
- Discussions about the library are held on the Boost developers mailing list. Be sure to read the discussion policy before posting and add the
[dynamic_bitset]
tag at the beginning of the subject line.
license | BSL-1.0 |
---|---|
project | boost |
url | github.com/boostorg/dynamic_bitset |
doc-url | www.boost.org/doc/libs/1_85_0/libs/dynamic_bitset |
boost-users@lists.boost.orgMailing list | |
topics | C++Boost |
5 Versions
version | 1.85.0 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 8; libboost-assert, libboost-config, libboost-container-hash, libboost-core, libboost-integer, libboost-move, libboost-static-assert, libboost-throw-exception |
reviews | +1 |
version | 1.83.0 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 8; libboost-assert, libboost-config, libboost-container-hash, libboost-core, libboost-integer, libboost-move, libboost-static-assert, libboost-throw-exception |
reviews | +1 |
version | 1.81.0+1 |
---|---|
repository | https://pkg.cppget.org/1/stable |
depends | 8; libboost-assert, libboost-config, libboost-container-hash, libboost-core, libboost-integer, libboost-move, libboost-static-assert, libboost-throw-exception |
reviews | +1 |
version | 1.78.0 |
---|---|
repository | https://pkg.cppget.org/1/legacy |
depends | 8; libboost-assert, libboost-config, libboost-container-hash, libboost-core, libboost-integer, libboost-move, libboost-static-assert, libboost-throw-exception |
reviews | +1 |
version | 1.77.0+1 |
---|---|
repository | https://pkg.cppget.org/1/legacy |
depends | 8; libboost-assert, libboost-config, libboost-container-hash, libboost-core, libboost-integer, libboost-move, libboost-static-assert, libboost-throw-exception |
reviews | +1 |