命名空间
变体
操作

std::ranges::subrange<I,S,K>::begin

来自 cppreference.cn
< cpp‎ | ranges‎ | subrange
 
 
范围库
范围适配器
 
 
constexpr I begin() const requires std::copyable<I>;
(1) (since C++20)
constexpr I begin() requires (!std::copyable<I>);
(2) (since C++20)

获取 subrange 的起始迭代器。

range-begin-end.svg

[编辑] 返回值

1) begin_.
2) std::move(begin_ ).

[编辑] 示例

[编辑] 参见

获取结尾哨位
(public member function) [编辑]
(C++11)(C++14)
返回容器或数组起始的迭代器
(function template) [编辑]
返回范围起始的迭代器
(customization point object)[编辑]