◐ Shell
clean mode source ↗

operator+(std::move_iterator) — cppreference.com

De cppreference.com

<metanoindex/>

<metanoindex/>

<tbody> </tbody>

template< class Iterator > reverse_iterator<Iterator> operator+( typename move_iterator<Iterator>::difference_type n, const move_iterator<Iterator>& it );

Retourne l'itérateur it incrémenté de n .

Original:

Returns the iterator it incremented by n.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Paramètres

n -

le nombre de postes d'incrémenter l'itérateur

Original:

the number of positions to increment the iterator

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

it -

l'adaptateur d'itérateur pour incrémenter

Original:

the iterator adaptor to increment

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Retourne la valeur

L'itérateur incrémenté, c'est move_iterator<Iterator>(x.current + n)

Original:

The incremented iterator, that is move_iterator<Iterator>(x.current + n)

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Exemple

Voir aussi