std::forward_list::insert_after
De cppreference.com
|
|
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. |
<metanoindex/>
<tbody> </tbody> iterator insert_after( const_iterator pos, const T& value ); |
(1) | (depuis C++11) |
iterator insert_after( const_iterator pos, T&& value ); |
(2) | (depuis C++11) |
iterator insert_after( const_iterator pos, size_type count, const T& value ); |
(3) | (depuis C++11) |
template< class InputIt > iterator insert_after( const_iterator pos, InputIt first, InputIt last ); |
(4) | (depuis C++11) |
iterator insert_after( const_iterator pos, std::initializer_list<T> ilist ); |
(5) | (depuis C++11) |
Éléments Inserts après la position spécifiée dans le conteneur .
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)
inserts
value après l'élément pointé par 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)
inserts
count copies du value après l'élément pointé par 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)
éléments inserts de
[first, last) plage après l'élément pointé par 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)
éléments inserts de liste d'initialisation
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 ici
Paramètres
| pos | - | élément après lequel le contenu sera inséré
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 | - | élément de valeur à insérer
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'ensemble d'éléments à insérer
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 | - | initialiseur liste d'insérer les valeurs
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.
| ||
Retourne la valeur
Itérateur à l'élément inséré .
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.
Complexité
| This section is incomplete |
Voir aussi
construit éléments en place après un élément 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. (fonction membre publique) | |
| insère des éléments au début (fonction membre publique) | |