[#bsl-unordered_set-0d2d-cbegin-07] = xref:bsl.adoc[bsl]::xref:bsl/unordered_set-0d2d.adoc[unordered_set]::cbegin :relfileprefix: ../../ :mrdocs: `cbegin` overloads == Synopses Declared in `<bslstl_unorderedset.h>` Return a const iterator to the first element of this set. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/unordered_set-0d2d/const_iterator.adoc[unordered_set<KEY, HASH, EQUAL, ALLOCATOR>::const_iterator] xref:bsl/unordered_set-0d2d/cbegin-0a.adoc[cbegin]() const noexcept; ---- [.small]#xref:bsl/unordered_set-0d2d/cbegin-0a.adoc[_» more..._]# Return a local iterator to the first element in the bucket at `index`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/unordered_set-0d2d/const_local_iterator.adoc[unordered_set<KEY, HASH, EQUAL, ALLOCATOR>::const_local_iterator] xref:bsl/unordered_set-0d2d/cbegin-09.adoc[cbegin](xref:bsl/unordered_set-0d2d/size_type.adoc[size_type] index) const; ---- [.small]#xref:bsl/unordered_set-0d2d/cbegin-09.adoc[_» 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 [cols="1,4"] |=== | Name| Description | *index* | bucket index |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#