Namespaces
Variants
Views
Actions

std::bitset::size

From cppreference.com
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]