std::forward_list::emplace_after
De cppreference.com
< cpp | container | forward list
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
| template< class... Args > iterator emplace_after( const_iterator pos, Args&&... args ); |
(ya que 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.
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.
You can help to correct and verify the translation. Click here for instructions.
[editar] Complejidad
| This section is incomplete |
[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. (miembro público función) | |