any

Syntax:

    #include <bitset>
    bool any() const;

The any() function returns true if any bit of the bitset is 1, otherwise, it returns false.

Related Topics: count, none