std::forward_list::emplace_after
Материал из 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 ); |
(начиная с C++11) | |
Вставляет новый элемент в позиции после указанной позиции в контейнере. Элемент построен на месте, т.е. не копировать или перемещать операции. Конструктор элемент называется с точно такими же аргументами, как подается в функцию.
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.
Содержание |
[править] Параметры
| pos | - | Итератор после чего новый элемент будет построен
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 | - | Аргументы направить в конструкторе элемента
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. |
[править] Возвращаемое значение
Итератор для нового элемента.
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.
[править] Сложность
| Этот раздел не завершён |
[править] См. также
| вставляет элементы после указанного элемента (public функция-член) | |