std::ranges::adjacent_view<V,N>:: sentinel <Const>:: sentinel
From cppreference.net
<
cpp
|
ranges
|
adjacent view
|
sentinel
C++
Ranges library
|
||||||||||||||||||||||
| Range primitives | |||||||
|
|||||||
| Range concepts | |||||||||||||||||||
|
|||||||||||||||||||
| Range factories | |||||||||
|
|||||||||
| Range adaptors | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||
| Helper items | |||||||||||||||||
|
|
||||||||||||||||
std::ranges::adjacent_view
| Member functions | ||||
|
(C++26)
|
||||
| Iterator | ||||
| Member functions | ||||
| Non-member functions | ||||
| Sentinel | ||||
| Member functions | ||||
|
adjacent_view::
sentinel
::
sentinel
|
||||
| Non-member functions | ||||
|
/*sentinel*/
(
)
=
default
;
|
(1) | (自 C++23 起) |
|
constexpr
/*sentinel*/
(
/*sentinel*/
<
!
Const
>
i
)
requires Const
&&
|
(2) | (自 C++23 起) |
构造一个哨兵。
该类型还具有一个私有构造函数,由 adjacent_view::end 使用。此构造函数对用户不可访问。
参数
| i | - | a /*sentinel*/ < false > |
示例
|
本节内容不完整
原因:缺少示例 |