Return an iterator providing non‐modifiable access to the first element in this list, or the past‐the‐end iterator if this list is empty.

Synopsis

Declared in <bslstl_list.h>

list<VALUE, ALLOCATOR>::const_iterator
begin() const noexcept;

Return Value

const iterator to the beginning, or past‐the‐end if empty

Created with MrDocs