bitset( ); bitset( unsigned long _Val ); template<class CharType, class Traits, class Allocator> explicit bitset( const basic_string<CharType, Traits, Allocator>& _Str, typename basic_string<CharType, Traits, Allocator>::size_type _Pos = 0, typename basic_string<CharType, Traits, Allocator>::size_type _Count = basic_string<CharType, Traits, Alloc>::npos ); Parameters _Val The positive integer whose base two representation is used to initialize the bits in the bitset being constructed. _Str The string of zeros and ones used to initialize the bitset bit values. _Pos The position of the character in the string, counting from left to right and beginning with zero, used to initialize the first bit in the bitset. _Count The number of characters in the string used to provide initial values for the bits in the bitset.
bitset(
unsigned long _Val
);
template<class CharType, class Traits, class Allocator>
explicit bitset(
const basic_string<CharType, Traits, Allocator>& _Str,
typename basic_string<CharType, Traits, Allocator>::size_type
_Pos = 0,
typename basic_string<CharType, Traits, Allocator>::size_type
_Count = basic_string<CharType, Traits, Alloc>::npos
);
Parameters
_Val
The positive integer whose base two representation is used to initialize the bits in the bitset being constructed.
_Str
The string of zeros and ones used to initialize the bitset bit values.
_Pos
The position of the character in the string, counting from left to right and beginning with zero, used to initialize the first bit in the bitset.
_Count
The number of characters in the string used to provide initial values for the bits in the bitset.