test

Syntax:

    #include <bitset>
    bool test( size_t pos ) const;

The function test() returns the value of the bit at position pos.