std::forward_list::insert_after
Da cppreference.com.
|
|
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
<metanoindex/>
<tbody> </tbody> iterator insert_after( const_iterator pos, const T& value ); |
(1) | (dal C++11) |
iterator insert_after( const_iterator pos, T&& value ); |
(2) | (dal C++11) |
iterator insert_after( const_iterator pos, size_type count, const T& value ); |
(3) | (dal C++11) |
template< class InputIt > iterator insert_after( const_iterator pos, InputIt first, InputIt last ); |
(4) | (dal C++11) |
iterator insert_after( const_iterator pos, std::initializer_list<T> ilist ); |
(5) | (dal C++11) |
Inserisce elementi dopo la posizione specificata nel contenitore.
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)
inserisce
value dopo l'elemento puntato da 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)
inserti
count copie del value dopo l'elemento puntato da 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)
inserisce elementi di
[first, last) campo dopo l'elemento puntato da 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)
inserisce elementi di lista di inizializzazione
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 qui
Parametri
| pos | - | elemento dopo il quale il contenuto verrà inserito
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 di valore da inserire
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 | - | l'intervallo di elementi da inserire
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 | - | inizializzatore lista per inserire i valori da
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.
| ||
Valore di ritorno
Iterator all'elemento inserito.
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.
Complessità
| This section is incomplete |
Vedi anche
costruisce elementi in-dopo 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. (metodo pubblico) | |
inserisce elementi all'inizio 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. (metodo pubblico) | |