stl:bitset:count From C++ Reference previous page next page 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: any previous page start next page