std::bitset::test

From Cppreference

Jump to: navigation, search
bool test( size_t pos ) const;

Returns the value of the bit at the position pos.

[edit] Parameters

pos - position of the bit to return

[edit] Return value

the value of the requested bit

[edit] See also

operator[]
accesses specific bit
(public member function)