std::ranges::join_with_view<V,Pattern>:: sentinel <Const>:: sentinel
From cppreference.net
<
cpp
|
ranges
|
join with view
|
sentinel
C++
Ranges library
|
||||||||||||||||||||||
| Range primitives | |||||||
|
|||||||
| Range concepts | |||||||||||||||||||
|
|||||||||||||||||||
| Range factories | |||||||||
|
|||||||||
| Range adaptors | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||
| Helper items | |||||||||||||||||
|
|
||||||||||||||||
std::ranges::join_with_view
| Member functions | ||||
| Deduction guides | ||||
| Iterator | ||||
| Member functions | ||||
| Non-member functions | ||||
| Sentinel | ||||
|
join_with_view::
sentinel
::
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 起)
( 仅用于说明* ) |
构造一个哨兵。重载 (3) 由 end() 的 ranges::join_with_view 调用。
| 重载版本 |
end_
|
|---|---|
| (1) | 值初始化 |
| (2) |
通过
std
::
move
(
s.
end_
)
初始化
|
| (3) | 通过 ranges:: end ( parent. base_ ) 初始化 |
参数
| i | - | 对应可变迭代器的哨兵 |
| parent | - | 一个 std::ranges::join_with_view 对象 |
示例
|
本节内容不完整
原因:缺少示例 |