Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

object::begin

object::begin

Return an iterator to the first element.

Synopsis

object::iterator
begin() noexcept; (1)

object::const_iterator
begin() const noexcept; (2)

Description

If the container is empty, end() is returned.

Complexity

Constant.

Exception Safety

No-throw guarantee.