boost::dynamic_bitset::find_first

Finds the first set bit in *this with an index >= pos, if any.

Synopsis

Declared in <boost/dynamic_bitset/dynamic_bitset.hpp>

size_type
find_first(size_type pos = 0) const;

Throws

Nothing.

Return Value

The lowest index i greater than or equal to pos such that bit i is set in *this, or npos if no such index exists.

Parameters

Name Description

pos

An unsigned integral type that can represent the size of the bitset. See size().

Created with MrDocs