operator== (ranges::enumerate_view:: iterator , ranges::enumerate_view:: sentinel )
|
||||||||||||||||||||||
| Range primitives | |||||||
|
|||||||
| Range concepts | |||||||||||||||||||
|
|||||||||||||||||||
| Range factories | |||||||||
|
|||||||||
| Range adaptors | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||
| Helper items | |||||||||||||||||
|
|
||||||||||||||||
| Member functions | ||||
|
(C++26)
|
||||
| Deduction guides | ||||
| Nested classes | ||||
| Iterator | ||||
| Sentinel | ||||
|
operator==
(enumerate_view::
iterator
,enumerate_view::
sentinel
)
|
||||
|
friend
constexpr
bool
operator
==
(
const
/*iterator*/
<
Const
>
&
x,
const
/*sentinel*/
&
y
)
;
|
(C++23 이후) | |
x 의 기반 반복자와 y 의 기반 센티널을 비교합니다.
current_
가
x
의 기반 반복자를 나타내고,
end_
가
y
의 기반 센티널을 나타낸다고 하자. 다음에 상응함:
return x. current_ == y. end_ ; .
이 함수는 일반적인
unqualified
또는
qualified lookup
으로는 보이지 않으며, 인수에 연관된 클래스로
enumerate_view::
sentinel
<Const>
가 있을 때에만
argument-dependent lookup
에 의해 찾을 수 있습니다.
!=
연산자는
합성된
operator==
로부터 생성됩니다.
매개변수
| x | - | 비교할 iterator |
| y | - | 비교할 sentinel |
반환값
비교 결과.
예제
|
이 섹션은 불완전합니다
이유: 예제 없음 |