std::bitset::count
From Cppreference
size_t count() const;
|
||
Returns the number of bits that are set to true.
[edit] Parameters
(none)
[edit] Return value
number of bits that are set to true.
[edit] See also
|
returns the size number of bits that the bitset can hold (public member function) |