std::ranges::join_with_view<V,Pattern>::sentinel<Const>::sentinel
来自cppreference.com
< cpp | ranges | join with view | sentinel
| /*sentinel*/() = default; |
(1) | (C++23 起) |
| constexpr /*sentinel*/( /*sentinel*/<!Const> i ) requires Const && std::convertible_to<ranges::sentinel_t<V>, |
(2) | (C++23 起) |
constexpr explicit /*sentinel*/ ( /*Parent*/& parent ); |
(3) | (C++23 起) (仅用于阐述*) |
构造哨位。ranges::join_with_view 的 end() 会调用重载 (3)。
| 重载 | end_
|
|---|---|
| (1) | 值初始化 |
| (2) | 以 std::move(s.end_ ) 初始化
|
| (3) | 以 ranges::end(parent.base_ ) 初始化 |
参数
| i | - | 对应可变迭代器的哨位 |
| parent | - | std::ranges::join_with_view 对象 |
示例
| 本节未完成 原因:暂无示例 |