Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

boost::dynamic_bitset::test :: Boost.DynamicBitset

boost::dynamic_bitset::test

Tests the bit at the given position.

Synopsis

Declared in <boost/dynamic_bitset/dynamic_bitset.hpp>

bool
test(size_type pos) const;

Return Value

true if bit pos is set, and false if it is zero.

Parameters

Name Description

pos

The position of the bit to test.

Preconditions

  • pos < this‐>size().

Created with MrDocs