test

C/C++ Reference

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

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