[#bsl-set-0d-begin-0f]
= xref:bsl.adoc[bsl]::xref:bsl/set-0d.adoc[set]::begin
:relfileprefix: ../../
:mrdocs:

Return a const iterator to the first element, or `end` if empty&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;set&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/set-0d/const_iterator.adoc[set&lt;KEY, COMPARATOR, ALLOCATOR&gt;::const&lowbar;iterator]
begin() const noexcept;
----

== Description

Return an iterator providing non&hyphen;modifiable access to the first `value&lowbar;type` object in the ordered sequence of `value&lowbar;type` objects maintained by this set, or the `end` iterator if this set is empty&period;

== Return Value

const iterator to the first element, or `end()`


[.small]#Created with https://www.mrdocs.com[MrDocs]#
