bsl::list::back

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.

Synopsis

Declared in <bslstl_list.h>

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