std::ranges::elements_view<V,N>:: sentinel
From cppreference.net
<
cpp
|
ranges
|
elements view
C++
Ranges library
|
||||||||||||||||||||||
| Range primitives | |||||||
|
|||||||
| Range concepts | |||||||||||||||||||
|
|||||||||||||||||||
| Range factories | |||||||||
|
|||||||||
| Range adaptors | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||
| Helper items | |||||||||||||||||
|
|
||||||||||||||||
std::ranges::elements_view
| Member functions | ||||
|
(C++26)
|
||||
| Nested classes | ||||
| Iterator | ||||
| Sentinel | ||||
|
template
<
bool
Const
>
class /*sentinel*/ ; |
( 설명 전용* ) | |
기본 뷰가
elements_view::end
가
common_range
가 아닐 때의 반환 타입.
타입 /*sentinel*/ < true > 는 const 한정 오버로드에 의해 반환됩니다. 타입 /*sentinel*/ < false > 는 non-const 한정 오버로드에 의해 반환됩니다.
목차 |
멤버 타입
| 멤버 타입 | 정의 |
Base
(private)
|
const
V
만약
Const
가
true
인 경우, 그렇지 않으면
V
.
( 설명 전용 멤버 타입* ) |
데이터 멤버
| 멤버 객체 | 정의 |
end_
(private)
|
(const 한정이 가능한)
V
로부터 얻은 센티넬.
( 설명 전용 멤버 객체* ) |
멤버 함수
|
sentinel을 생성합니다
(public member function) |
|
|
기본 sentinel을 반환합니다
(public member function) |
비멤버 함수
|
(C++20)
|
elements_view::begin
에서 반환된 반복자와 센티널을 비교합니다
(함수) |
|
(C++20)
|
elements_view::begin
에서 반환된 반복자와 센티널 사이의 거리를 계산합니다
(함수) |