bsl::unordered_multimap::cbegin

Return a local iterator to the first element in the bucket at index.

Synopsis

Declared in <bslstl_unorderedmultimap.h>

unordered_multimap<KEY, VALUE, HASH, EQUAL, ALLOCATOR>::const_local_iterator
cbegin(size_type index) const;

Description

Return a local iterator providing non-modifiable access to the first value_type object (in the sequence of value_type objects) of the bucket having the specified index in the array of buckets maintained by this unordered multimap, or the end(index) iterator if the indexed bucket is empty. The behavior is undefined unless `index < bucket_count()`.

Return Value

const local iterator to the first element, or cend(index) if empty

Parameters

NameDescription
indexbucket index