boost::dynamic_bitset::at

A checked version of operator[]().

Synopsis

Declared in <boost/dynamic_bitset/dynamic_bitset.hpp>

reference
at(size_type pos);

Throws

std::out_of_range if pos is not within the range of the bitset.

Return Value

The same as operator[]( pos ).

Parameters

Name Description

pos

The position of the bit to test.

Created with MrDocs