bitdeque::at

Access an element with bounds checking, throwing std::out_of_range if out of bounds.

Synopses

Declared in <util/bitdeque.h>

Access an element with bounds checking, throwing std::out_of_range if out of bounds.

reference
at(size_type position);
» more...

Access an element with bounds checking, throwing std::out_of_range if out of bounds.

const_reference
at(size_type position) const;
» more...

Return Value

  • Mutable reference to the requested bit.
  • Read-only reference to the requested bit.

Parameters

NameDescription
positionIndex of the bit to access.