object::end

Return an iterator to the element following the last element.

Synopsis

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

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

Description

The element acts as a placeholder; attempting to access it results in undefined behavior.

Complexity

Constant.

Exception Safety

No-throw guarantee.