std::experimental::basic_string_view<CharT,Traits>::end, std::experimental::basic_string_view<CharT,Traits>::cend

constexpr const_iterator end() const noexcept;
(库基础 TS)
constexpr const_iterator cend() const noexcept;
(库基础 TS)

返回指向视图最末字符之后的字符的迭代器。此字符作为占位符,尝试访问它造成未定义行为。

range-begin-end.svg

参数

(无)

返回值

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

复杂度

常数

参阅

访问指向开头的迭代器
(公开成员函数)