#include <bitset> bool test( size_t pos );
The function test() returns the value of the bit at position pos.