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.
[編集] 複雑
| This section is incomplete |
[編集] も参照してください
| 挿入要素の後に要素を 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. (パブリックメンバ関数) | |