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

Return a reference to the last element of this vector.

Synopses

Declared in <bslstl_vector.h>

Return a reference to the last element of this vector.

vector<VALUE_TYPE*, ALLOCATOR>::reference
back();
» more...

Return a reference to the last element of this vector.

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

Return Value

  • modifiable reference to the last element
  • non-modifiable reference to the last element