Espacios de nombres
Variantes
Acciones

std::swap(std::basic_filebuf)

De cppreference.com
< cpp‎ | io‎ | basic filebuf
 
 
 
std::basic_filebuf
Las funciones públicas miembros
Original:
Public member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Protegido funciones miembro
Original:
Protected member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Terceros funciones
Original:
Non-member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
swap(std::basic_filebuf)
(C++11)
 
template<class CharT, class Traits >

void swap(std::basic_filebuf<CharT, Traits>& lhs,

          std::basic_filebuf<CharT, Traits>& rhs);
(desde C++11)
Sobrecarga el algoritmo std::swap para std::basic_filebuf. Intercambios del estado de lhs con la de rhs. Efectivamente llama lhs.swap(rhs) .
Original:
Overloads the std::swap algorithm for std::basic_filebuf. Exchanges the state of lhs with that of rhs. Effectively calls 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 -
std::basic_filebuf objetos cuyos estados a intercambiar
Original:
std::basic_filebuf objects whose states 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]Ejemplo

[editar]Ver también

(C++11)
swaps dos objetos basic_filebuf
Original:
swaps two basic_filebuf objects
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(función miembro pública)[editar]
Intercambia los valores de dos objetos
(plantilla de función)[editar]
close