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

從 cppreference.com
< cpp‎ | ranges‎ | subrange
 
 
範圍庫
範圍適配器
 
 
constexpr I begin() const requires std::copyable<I>;
(1) (C++20 起)
constexpr I begin() requires (!std::copyable<I>);
(2) (C++20 起)

獲得指向 subrange 開頭的迭代器。

range-begin-end.svg

[編輯] 返回值

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

[編輯] 示例

[編輯] 參閱

獲得哨位
(公開成員函數) [編輯]
(C++11)(C++14)
返回指向容器或數組起始的迭代器
(函數模板) [編輯]
返回指向範圍起始的迭代器
(定製點對象) [編輯]