bsl::bitset::bitset

Create a bitset with its first M bit positions correspond to bit values in the specified val. M is the smaller of the parameterized N and 8 * sizeof(unsigned long long). If M < N, the remaining bit positions are initialized to 0.

Synopsis

Declared in <bslstl_bitset.h>

constexpr
bitset(unsigned long long val) noexcept;