Namespaces
Variants

operator== (ranges::join_with_view:: iterator , ranges::join_with_view:: sentinel )

From cppreference.net
Ranges library
Range adaptors
friend constexpr bool operator == ( const /*iterator*/ < Const > & x, const /*sentinel*/ & y ) ;
(C++23 이후)

x 의 기반 반복자와 y 의 기반 센티널을 비교합니다. 이 비교는 x 에 저장된 기반 외부 반복자가 end 반복자인 경우 true를 반환합니다.

이 함수는 일반적인 unqualified 또는 qualified lookup 으로는 보이지 않으며, join_with_view:: sentinel <Const> 가 인자들의 연관 클래스일 때에만 argument-dependent lookup 으로 찾을 수 있습니다.

!= 연산자는 합성된 operator== 로부터 생성됩니다.

매개변수

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

반환값

x. outer_it_ == y. end_ , 여기서 outer_it_ 는 기본 외부 반복자를 나타내고, end_ 는 기본 센티넬을 나타냅니다.

예제