std::ranges::join_with_view<V,Pattern>::sentinel<Const>::sentinel
来自cppreference.com
| ||||||||||||||||||||||
| 范围原语 | |||||||
| |||||||
| 范围概念 | |||||||||||||||||||
| |||||||||||||||||||
| 范围工厂 | |||||||||
| |||||||||
| 范围适配器 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 辅助项 | |||||||||||||||||
|
| ||||||||||||||||
/*sentinel*/() = default;
|
(1) | (C++23 起) |
constexpr /*sentinel*/( /*sentinel*/<!Const> i )
requires Const && std::convertible_to<ranges::sentinel_t<V>,
ranges::sentinel_t<const 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 对象 |
| 本节未完成 原因:暂无示例 |