std::bitset::size

From Cppreference

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

[edit] See also

count
returns the number of bits set to true
(public member function)