Espacios de nombres
Variantes
Acciones

std::forward_list::emplace_after

De cppreference.com

 
 
 
std::forward_list
Las funciones miembro
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Elemento acceso
Original:
Element access
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Los iteradores
Original:
Iterators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Capacidad
Original:
Capacity
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Modificadores
Original:
Modifiers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
forward_list::emplace_after
Operaciones
Original:
Operations
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
template< class... Args >
iterator emplace_after( const_iterator pos, Args&&... args );
(desde C++11)
Inserta un nuevo elemento en una posición después de la posición especificada en el contenedor. El elemento se construye en el lugar, es decir, no copiar o mover las operaciones se realizan. El constructor del elemento se denomina con exactamente los mismos argumentos, como se suministra a la función .
Original:
Inserts a new element into a position after the specified position in the container. The element is constructed in-place, i.e. no copy or move operations are performed. The constructor of the element is called with exactly the same arguments, as supplied to the function.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

No iterators or references are invalidated.

Contenido

[editar] Parámetros

pos -
iterador después de que el nuevo elemento se construirá
Original:
iterator after which the new element will be constructed
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
args -
argumentos que transmitan al constructor del elemento
Original:
arguments to forward to the constructor of the element
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Valor de retorno

iterador para el nuevo elemento .
Original:
iterator to the new element.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Complejidad

[editar] Ver también

inserciones de elementos después de un elemento
Original:
inserts elements after an element
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úblico) [editar]