std::ranges::filter_view<V,Pred>:: sentinel
|
||||||||||||||||||||||
| Range primitives | |||||||
|
|||||||
| Range concepts | |||||||||||||||||||
|
|||||||||||||||||||
| Range factories | |||||||||
|
|||||||||
| Range adaptors | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||
| Helper items | |||||||||||||||||
|
|
||||||||||||||||
|
class
/*sentinel*/
;
|
(C++20부터)
( 설명 전용* ) |
|
기본
view
V
가
common_range
를 모델링하지 않을 때
filter_view::end
의 반환 타입.
목차 |
데이터 멤버
| 멤버 | 정의 |
V
end_
(private)
|
기본
view
의 센티넬
( 설명 전용 멤버 객체* ) |
멤버 함수
|
sentinel을 생성함
(public member function) |
|
|
기반 sentinel을 반환함
(public member function) |
std::ranges::filter_view:: sentinel :: sentinel
|
/*sentinel*/
(
)
=
default
;
|
(1) | (C++20 이후) |
|
constexpr
explicit
/*sentinel*/
(
filter_view
&
parent
)
;
|
(2) | (C++20 이후) |
std::ranges::filter_view:: sentinel :: base
|
constexpr
ranges::
sentinel_t
<
V
>
base
(
)
const
;
|
(C++20 이후) | |
return end_ ; 와 동등합니다.
비멤버 함수
|
(C++20)
|
기본 반복자와 기본 센티널을 비교합니다
(함수) |
operator== (std::ranges::filter_view:: iterator , std::ranges::filter_view:: sentinel )
|
friend
constexpr
bool
operator
==
(
const
/*iterator*/
&
x,
const /*sentinel*/ & y ) ; |
(since C++20) | |
x.current_ == y.end_
와 동등하며, 여기서
current_
는
filter_view::
iterator
에 래핑된 기본 반복자입니다.
!=
연산자는
operator==
로부터
합성됩니다
.
이 함수는 일반적인
비한정
또는
한정 조회
에는 보이지 않으며,
std::ranges::filter_view::
sentinel
이 인자들의 연관 클래스일 때만
인자 종속 조회
를 통해 찾을 수 있습니다.