Espacios de nombres
Variantes
Acciones

std::swap(std::tuple)

De cppreference.com
< cpp‎ | utility‎ | tuple
 
 
Biblioteca de servicios
 
 
template<class... Types>
void swap( tuple<Types...>& lhs, tuple<Types...>& rhs );
(desde C++11)
Intercambia los contenidos de lhs y rhs. Equivalente a lhs.swap(rhs) .
Original:
Swaps the contents of lhs and rhs. Equivalent to lhs.swap(rhs).
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Contenido

[editar]Parámetros

lhs, rhs -
tuplas cuyos contenidos para intercambiar
Original:
tuples whose contents to swap
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar]Valor de retorno

(Ninguno)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar]Excepciones

Especificación noexcept:   (desde C++11)
noexcept(noexcept(lhs.swap(rhs)))

[editar]Ver también

close