bsl::unordered_map::cend

Return a past-the-end const local iterator for bucket index.

Synopsis

Declared in <bslstl_unorderedmap.h>

const_local_iterator
cend(size_type index) const;

Description

Return a local iterator providing non-modifiable access to the past-the-end position in the sequence of value_type objects of the bucket having the specified index in the array of buckets maintained by this unordered map. The behavior is undefined unless `index < bucket_count()`.

Return Value

past-the-end const local iterator for the bucket

Parameters

NameDescription
indexbucket index