Namespaces
Variants
Views
Actions

std::bitset::size

From cppreference.com
< cpp‎ | utility‎ | bitset
Revision as of 15:50, 2 November 2012 by P12bot (Talk | contribs)

Template:ddcl list begin <tr class="t-dcl-sep"><td></td><td></td><td></td></tr>

<tr class="t-dcl ">

<td class="t-dcl-nopad">
size_t size() const;
</td>

<td class="t-dcl-nopad"> </td> <td class="t-dcl-nopad"> </td> </tr> Template:ddcl list end

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]