std::experimental::basic_string_view<CharT,Traits>::rend, std::experimental::basic_string_view<CharT,Traits>::crend

constexpr const_reverse_iterator rend() const noexcept;
(库基础 TS)
constexpr const_reverse_iterator crend() const noexcept;
(库基础 TS)

返回指向逆向视图的最末字符之后字符的逆向迭代器。它对应于未逆向视图的首字符之前的字符。这个字符作为占位符,视图访问它导致未定义行为。

range-rbegin-rend.svg

参数

(无)

返回值

指向最末字符之后的字符的 const_reverse_iterator

复杂度

常数

参阅

返回指向开头的反向迭代器
(公开成员函数)