bsl::set::begin

begin overloads

Synopses

Declared in <bslstl_set.h>

Return an iterator to the first element, or end if empty.

set<KEY, COMPARATOR, ALLOCATOR>::iterator
begin() noexcept;
» more...

Return a const iterator to the first element, or end if empty.

set<KEY, COMPARATOR, ALLOCATOR>::const_iterator
begin() const noexcept;
» more...

Return Value

  • modifiable iterator to the first element, or end()
  • const iterator to the first element, or end()