object::rend
Return a reverse iterator to the element following the last element of the reversed container.
Synopsis
object::reverse_iterator
rend() noexcept; (1)
object::const_reverse_iterator
rend() const noexcept; (2)
Description
The pointed-to element corresponds to the element preceding the first element of the non-reversed container. This element acts as a placeholder, attempting to access it results in undefined behavior.
Complexity
Constant.
Exception Safety
No-throw guarantee.