std::experimental::basic_string_view<CharT,Traits>::begin, std::experimental::basic_string_view<CharT,Traits>::cbegin

constexpr const_iterator begin() const noexcept;
(库基础 TS)
constexpr const_iterator cbegin() const noexcept;
(库基础 TS)

返回指向视图的首个字符的迭代器。

range-begin-end.svg

参数

(无)

返回值

指向首个字符的 const_iterator

复杂度

常数

参阅

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