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

来自cppreference.com
Fruderica留言 | 贡献2017年2月6日 (一) 16:18的版本 (以“{{cpp/string/basic_string_view/title | begin | cbegin}} {{cpp/string/basic_string_view/navbar}} {{dcl begin}} {{dcl | since=c++17 | constexpr const_iterator begin() ...”为内容创建页面)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
 
 
 
 
constexpr const_iterator begin() const;
(C++17 起)
constexpr const_iterator cbegin() const;
(C++17 起)

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

参数

(无)

返回值

指向首字符的const_iterator

异常

noexcept 说明:  
noexcept
  

复杂度

常数

参阅

返回指向结尾的迭代器
(公开成员函数) [编辑]