prevector<36, unsigned char>::operator[]

Subscript operators

Synopses

Declared in <prevector.h>

Returns a reference to the element at position pos.

unsigned char&
operator[](size_type pos);
» more...

Returns a const reference to the element at position pos.

unsigned char const&
operator[](size_type pos) const;
» more...

Return Value

  • A reference to the element at that position.
  • A const reference to the element at that position.

Parameters

NameDescription
posThe index of the element to access.