Namespaces
Variants

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

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

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

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

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

매개변수

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

반환값

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

예제