std::stack::swap
De cppreference.com
<metanoindex/>
<tbody> </tbody> void swap( const stack<T, Container>& other ); |
||
Trocas o conteúdo do recipiente com os adaptadores de
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.
Parâmetros
| other | - | adaptador de recipiente para trocar o conteúdo com
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. |
Valor de retorno
(Nenhum)
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.
Complexidade
Mesmo que o recipiente subjacente (linear se
Container é std :: matriz constante, de outra forma)Original:
Same as underlying container (linear if
Container is std :: matriz, 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.
