array::rend
Return a reverse iterator to the element following the last element of the reversed container.
Synopsis
array::reverse_iterator
rend() noexcept; (1)
array::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. The returned iterator only acts as a sentinel. Dereferencing it results in undefined behavior.
Complexity
Constant.
Exception Safety
No-throw guarantee.