bsl::vector<VALUE_TYPE*, ALLOCATOR>::at

Return a reference to the element at the specified position.

Synopses

Declared in <bslstl_vector.h>

Return a reference to the element at the specified position.

vector<VALUE_TYPE*, ALLOCATOR>::reference
at(size_type position);
» more...

Return a reference to the element at the specified position.

vector<VALUE_TYPE*, ALLOCATOR>::const_reference
at(size_type position) const;
» more...

Return Value

  • modifiable reference to the element at position
  • non-modifiable reference to the element at position

Parameters

NameDescription
positionelement position or insertion point