bsl::map::cbegin

Return a const iterator to the first element, or cend if empty.

Synopsis

Declared in <bslstl_map.h>

map<KEY, VALUE, COMPARATOR, ALLOCATOR>::const_iterator
cbegin() const noexcept;

Description

Return an iterator providing non-modifiable access to the first value_type object in the ordered sequence of value_type objects maintained by this map, or the cend iterator if this map is empty.

Return Value

const iterator to the first element, or cend()