bsl::list::back

back overloads

Synopses

Declared in <bslstl_list.h>

Return a reference providing modifiable access to the last element of this list. The behavior is undefined unless this list contains at least one element.

list<VALUE, ALLOCATOR>::reference
back();
» more...

Return a reference providing non-modifiable access to the last element of this list. The behavior is undefined unless this list contains at least one element.

list<VALUE, ALLOCATOR>::const_reference
back() const;
» more...