std::queue::swap
提供: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. |
| void swap( const queue<T, Container>& other ); |
||
otherのものとコンテナアダプタの交換が内容。 Effectively calls using std::swap; swap(c, other.c);Original:
Exchanges the contents of the container adaptor with those of
other. Effectively calls using std::swap; swap(c, other.c);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.
目次 |
[編集] パラメータ
| other | - | との内容を交換するコンテナアダプタ
Original: container adaptor to exchange the contents with The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[編集] 値を返します
(なし)
Original:
(none)
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.
[編集] 複雑
基礎とコンテナと同じ(もし線形
Containerですのstd ::配列、それ以外の定数)Original:
Same as underlying container (linear if
Container is のstd ::配列, constant otherwise)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.
[編集] も参照してください
| 特殊化されたstd::swapアルゴリズム (関数テンプレート) | |