operator- (std::basic_const_iterator)
| Iterator concepts | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Iterator primitives | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Algorithm concepts and utilities | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Indirect callable concepts | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Common algorithm requirements | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Utilities | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Iterator adaptors | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Member functions | ||||
| Non-member functions | ||||
|
(C++23)
(C++23)
(C++23)
(C++23)
|
||||
|
(C++23)
|
||||
|
operator-
(C++23)
|
||||
| Helper classes | ||||
|
template
<
std::
sized_sentinel_for
<
Iter
>
S
>
constexpr difference_type operator - ( const S & s ) const ; |
(1) | (depuis C++23) |
|
template
<
/*not-a-const-iterator*/
S
>
requires
std::
sized_sentinel_for
<
S, Iter
>
|
(2) | (depuis C++23) |
Retourne la distance entre
basic_const_iterator
et son sentinelle.
S
satisfait le concept d'exposition uniquement
/*not-a-const-iterator*/
si et seulement si ce n'est pas une spécialisation de
basic_const_iterator
.
Paramètres
| i, s | - | itérateur et sentinelle pour calculer la différence de |
Valeur de retour
Exemple
|
Cette section est incomplète
Raison : aucun exemple |