bsl::unordered_map::begin

begin overloads

Synopses

Declared in <bslstl_unorderedmap.h>

Return an iterator to the first element.

iterator
begin() noexcept;
» more...

Return a const iterator to the first element.

const_iterator
begin() const noexcept;
» more...

Return a local iterator to the first element in bucket index.

local_iterator
begin(size_type index);
» more...

Return a const local iterator to the first element in bucket index.

const_local_iterator
begin(size_type index) const;
» 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

NameDescription
indexbucket index