Namespaces
Variants
Views
Actions

std::bitset<N>::count

From cppreference.com
< cpp‎ | utility‎ | bitset
Revision as of 02:01, 5 May 2011 by WikiSysop (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:cpp/utility/bitset/sidebar Template:ddcl list begin <tr class="t-dcl ">

<td class="t-dcl-nopad">
size_t count() 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 are set to Template:cpp.

Template:params Template:param none

Template:returns number of bits that are set to Template:cpp.

Template:see also

returns the number of bits that the bitset holds
(public member function) [edit]