◐ Shell
clean mode source ↗

std::move_iterator::operator++,+,+=,--,-,-= - cppreference.com

De cppreference.com

Esta página se ha traducido por ordenador/computador/computadora de la versión en inglés de la Wiki usando Google Translate.

La traducción puede contener errores y palabras aparatosas/incorrectas. Planea sobre el texto para ver la versión original. Puedes ayudar a corregir los errores y mejorar la traducción. Para instrucciones haz clic aquí.

reference operator++();

(1)

reference operator--();

(2)

reference operator++( int );

(3)

reference operator--( int );

(4)

move_iterator operator+( difference_type n ) const;

(5)

move_iterator operator-( difference_type n ) const;

(6)

move_iterator& operator+=( difference_type n ) const;

(7)

move_iterator& operator-=( difference_type n ) const;

(8)

Aumenta o disminuye el iterador.

Original:

Increments or decrements the iterator.

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

1-2)

Pre-aumenta o disminuye por un pre-respectivamente .

Original:

Pre-increments or pre-decrements by one respectively.

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

3-4)

Post-incrementos o decrementos de correos-por una respectivamente .

Original:

Post-increments or post-decrements by one respectively.

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

5-6)

Devuelve un iterador que se avanza por n o posiciones -n respectivamente .

Original:

Returns an iterator which is advanced by n or -n positions respectively.

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

7-8)

Avanza el iterador por n o -n posiciones respectivamente .

Original:

Advances the iterator by n or -n positions respectively.

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

Valor de retorno

1) *this

2)

una copia de *this que se hizo antes del cambio

Original:

a copy of *this that was made before the change

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

3) move_iterator(base()+n) or move_iterator(base()-n) respectively.

4) *this

Ejemplo

Ver también

avanza el iterador

Original:

advances the iterator

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


(plantilla de función) [editar]