Namespaces
Variants

operator==iteratorsentinel )

cppreference.net에서 가져옴
 
 
Ranges 라이브러리
Range 어댑터
 
 
friend constexpr bool operator==( const /*iterator*/<Const>& x, const /*sentinel*/& y );
(C++23부터)

x의 기본 반복자와 y의 기본 센티넬을 비교합니다.

last_ele_이 x의 기본 반복자를 나타내고 end_이 y의 기본 센티넬을 나타낸다고 가정합니다.

다음과 동등합니다: return x.last_ele_ == y.end_;.

이 함수는 일반적인 비한정 또는 한정 조회에 표시되지 않으며, 인자 종속 조회를 통해서만 찾을 수 있습니다. 단, slide_view::sentinel이 인자의 연관 클래스인 경우에 한합니다.

!= 연산자는 합성되어 operator==에서 생성됩니다.

매개변수

x - 비교할 iterator
y - 비교할 sentinel

반환값

비교 결과.

예제