Namespaces
Variants

operator-(ranges::zip_transform_view::sentinel)

cppreference.net에서
 
 
Ranges 라이브러리
Range 어댑터
 
 
template< bool OtherConst >
    requires std::sized_sentinel_for</*zentinel*/<Const>, /*ziperator*/<OtherConst>>
friend constexpr ranges::range_difference_t</*maybe-const*/<OtherConst, /*InnerView*/>>
    operator-( const /*iterator*/<OtherConst>& x, const /*sentinel*/& y );
(1) (C++23부터)
template< bool OtherConst >
    requires std::sized_sentinel_for</*zentinel*/<Const>, /*ziperator*/<OtherConst>>
friend constexpr ranges::range_difference_t</*maybe-const*/<OtherConst, /*InnerView*/>>
    operator-( const /*sentinel*/& y, const /*iterator*/<OtherConst>& x );
(2) (C++23부터)

x 의 내부 반복자와 y 의 내부 sentinel 사이의 거리를 계산합니다.

이 함수 템플릿은 일반적인 비한정 또는 한정 조회로는 볼 수 없으며, 인자 종속 조회에서 zip_transform_view::sentinel 이(가) 인수의 연관 클래스인 경우에만 찾을 수 있습니다.

매개변수

x - an iterator
y - a sentinel

반환값

inner_ 가 각각 기본 반복자(iterator) 또는 센티넬(sentinel)을 나타낸다고 가정합니다.

1) x. inner_ - y. inner_
2) y. inner_ - x. inner_