名稱空間
變體
操作

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

來自 cppreference.com
< cpp‎ | ranges‎ | subrange
 
 
範圍庫 (Ranges library)
範圍介面卡 (Range adaptors)
 
 
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_ )

[編輯] 示例

[編輯] 參閱

獲取哨兵
(public member function) [編輯]
(C++11)(C++14)
返回指向容器或陣列開頭的迭代器
(function template) [編輯]
返回指向範圍開頭的迭代器
(customization point object)[編輯]