Namespaces
Variants
Views
Actions

std::bitset::size

From cppreference.com
< cpp‎ | utility‎ | bitset
Revision as of 22:37, 31 May 2013 by P12bot (Talk | contribs)

size_t size() const;

Returns the number of bits that the bitset can hold.

Parameters

(none)

Return value

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

See also

returns the number of bits set to true
(public member function) [edit]