bsl::unordered_set::cbegin

cbegin overloads

Synopses

Declared in <bslstl_unorderedset.h>

Return a const iterator to the first element of this set.

unordered_set<KEY, HASH, EQUAL, ALLOCATOR>::const_iterator
cbegin() const noexcept;
» more...

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

unordered_set<KEY, HASH, EQUAL, ALLOCATOR>::const_local_iterator
cbegin(size_type index) const;
» more...

Return Value

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

Parameters

NameDescription
indexbucket index