Namespaces
Variants

operator- (ranges::zip_transform_view:: sentinel )

From cppreference.net
Ranges library
Range adaptors
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) (depuis 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) (depuis C++23)

Calcule la distance entre l'itérateur sous-jacent de x et la sentinelle sous-jacente de y .

Ces modèles de fonction ne sont pas visibles par la recherche non qualifiée ou qualifiée ordinaire, et ne peuvent être trouvés que par la recherche dépendante des arguments lorsque zip_transform_view:: sentinel est une classe associée des arguments.

Paramètres

x - un iterator
y - un sentinel

Valeur de retour

Soit inner_ l'itérateur ou le sentinelle sous-jacent respectivement.

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