std::forward_list::insert_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. |
| iterator insert_after( const_iterator pos, const T& value ); |
(1) | (ya que C + +11) |
| iterator insert_after( const_iterator pos, T&& value ); |
(2) | (ya que C + +11) |
| iterator insert_after( const_iterator pos, size_type count, const T& value ); |
(3) | (ya que C + +11) |
| template< class InputIt > iterator insert_after( const_iterator pos, InputIt first, InputIt last ); |
(4) | (ya que C + +11) |
| iterator insert_after( const_iterator pos, std::initializer_list<T> ilist ); |
(5) | (ya que C + +11) |
Inserta elementos a partir de la posición indicada en el envase .
Original:
Inserts elements after the specified position in the container.
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.
1-2)
insertos
value después del elemento apuntado por posOriginal:
inserts
value after the element pointed to by posThe 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.
3)
insertos
count copias del value después del elemento apuntado por posOriginal:
inserts
count copies of the value after the element pointed to by posThe 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.
4)
elementos insertos de
[first, last) rango después del elemento apuntado por posOriginal:
inserts elements from range
[first, last) after the element pointed to by posThe 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.
5)
elementos insertos de la lista de inicializador
ilist .Original:
inserts elements from initializer list
ilist.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.
Information on iterator invalidation is copied from aquí
Contenido |
[editar] Parámetros
| pos | - | después de lo cual el elemento de contenido se insertará
Original: element after which the content will be inserted The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| value | - | elemento de valor que se inserta
Original: element value to insert The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| first, last | - | la gama de elementos a insertar
Original: the range of elements to insert The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| ilist | - | lista de inicializadores para insertar los valores de
Original: initializer list to insert the values from The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| Type requirements | ||
-InputIt must meet the requirements of InputIterator.
| ||
[editar] Valor de retorno
Iterator al elemento insertado .
Original:
Iterator to the inserted 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
| construye elementos en el lugar después de un elemento Original: constructs elements in-place 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) | |
| inserciones elementos al principio Original: inserts elements to the beginning 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) | |