bitdeque::operator[]

Access an element without bounds checking.

Synopses

Declared in <util/bitdeque.h>

Access an element without bounds checking.

reference
operator[](size_type position);
» more...

Access an element without bounds checking.

const_reference
operator[](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.