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.