[#bsl-bitset-2constructor-08b] = xref:bsl.adoc[bsl]::xref:bsl/bitset.adoc[bitset]::bitset :relfileprefix: ../../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr bitset(unsigned long long val) noexcept; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#