std::bitset::size

From cppreference.com
Jump to: navigation, search
size_t size() const;

Returns the number of bits that the bitset can hold.

[edit] Parameters

(none)

[edit] Return value

number of bits that the bitset can hold, i.e. the template parameter N

[edit] See also

returns the number of bits set to true
(public member function) [edit]
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
In other languages