count
Syntax:
#include <bitset> size_type count();
The function count() returns the number of bits that are set to 1 in the bitset.
Related topics:
#include <bitset> size_type count();
The function count() returns the number of bits that are set to 1 in the bitset.