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