◐ Shell
clean mode source ↗

std::move_iterator::move_iterator - 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í.

move_iterator();

(1)

explicit move_iterator( Iterator x );

(2)

template< class U > move_iterator( const move_iterator<U>& other );

(3)

Construye un iterador nuevo adaptador .

Original:

Constructs a new iterator adaptor.

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

1)

Por defecto constructor. current es el valor inicializado. Esto sólo tiene sentido si las operaciones de un valor inicializado Iterator también hacer sentido .

Original:

Default constructor. current is value-initialized. This makes sense only if operations on an value-initialized Iterator make also sense.

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

2)

current se inicializa con x .

Original:

current is initialized with x.

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

3)

Copiar constructor. El iterador subyacente se inicializa con la de other .

Original:

Copy constructor. The underlying iterator is initialized with that of other.

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

Parámetros

x -

iterador para adaptarse

Original:

iterator to adapt

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

other -

adaptador iterador para copiar

Original:

iterator adaptor to copy

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

Ejemplo

Ver también

asigna otro iterador

Original:

assigns another iterator

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


(función miembro pública) [editar]