std::forward_list::emplace_after
Aus 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 ); |
(seit C++11) | |
Fügt ein neues Element in einer Position nach der angegebenen Position in dem Behälter. Das Element in-place ist so aufgebaut, dh kein Kopieren oder Verschieben von Operationen durchgeführt werden. Der Konstruktor des Elements wird mit genau den gleichen Argumenten aufgerufen, um die Funktion geliefert .
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.
Inhaltsverzeichnis |
[Bearbeiten] Parameter
| pos | - | Iterator wonach das neue Element aufgebaut sein
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 | - | Argumente, die an den Konstruktor des Elements weiterzuleiten
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. |
[Bearbeiten] Rückgabewert
Iterator auf das neue Element .
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.
[Bearbeiten] Komplexität
| This section is incomplete |
[Bearbeiten] Siehe auch
| Einsätze Elemente nach einem Element 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. (öffentliche Elementfunktion) | |