[#bsl-set-0d-begin-054] = xref:bsl.adoc[bsl]::xref:bsl/set-0d.adoc[set]::begin :relfileprefix: ../../ :mrdocs: `begin` overloads == Synopses Declared in `<bslstl_set.h>` Return an iterator to the first element, or `end` if empty. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/set-0d/iterator.adoc[set<KEY, COMPARATOR, ALLOCATOR>::iterator] xref:bsl/set-0d/begin-055.adoc[begin]() noexcept; ---- [.small]#xref:bsl/set-0d/begin-055.adoc[_» more..._]# Return a const iterator to the first element, or `end` if empty. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/set-0d/const_iterator.adoc[set<KEY, COMPARATOR, ALLOCATOR>::const_iterator] xref:bsl/set-0d/begin-0f.adoc[begin]() const noexcept; ---- [.small]#xref:bsl/set-0d/begin-0f.adoc[_» more..._]# == Return Value * modifiable iterator to the first element, or `end()` * const iterator to the first element, or `end()` [.small]#Created with https://www.mrdocs.com[MrDocs]#