std::ranges::join_view<V>:: sentinel <Const>:: sentinel
From cppreference.net
C++
Ranges library
|
||||||||||||||||||||||
| Range primitives | |||||||
|
|||||||
| Range concepts | |||||||||||||||||||
|
|||||||||||||||||||
| Range factories | |||||||||
|
|||||||||
| Range adaptors | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||
| Helper items | |||||||||||||||||
|
|
||||||||||||||||
std::ranges::join_view
| Member functions | ||||
| Deduction guides | ||||
| Iterator | ||||
| Sentinel | ||||
|
join_view::
sentinel
::
sentinel
|
||||
|
/*sentinel*/
(
)
=
default
;
|
(1) | (自 C++20 起) |
|
constexpr
explicit
/*sentinel*/
(
Parent
&
parent
)
;
|
(2) | (自 C++20 起) |
|
constexpr
/*sentinel*/
(
/*sentinel*/
<
!
Const
>
i
)
requires Const
&&
|
(3) | (自 C++20 起) |
构造一个哨兵。
1)
默认构造函数。
值初始化
底层哨兵。
3)
从
/*sentinel*/
<
false
>
到
/*sentinel*/
<
true
>
的转换。通过
std
::
move
(
i.
end_
)
移动构造底层哨兵
end_
。
参数
| parent | - | 一个(可能带有 const 限定符的) ranges::join_view |
| i | - | 一个 /*sentinel*/ < false > |
示例
|
本节内容不完整
原因:缺少示例 |