Espacios de nombres
Variantes
Acciones

Diferencia entre revisiones de «cpp/io/basic fstream/swap2»

De cppreference.com
< cpp‎ | io‎ | basic fstream
m (1 revisión: Translate from the English version)
m (r2.7.3) (Bot Añadido: de, en, fr, it, ja, pt, ru, zh)
Línea 1: Línea 1:
 
{{page template|cpp/io/basic_fstream/swap2|basic_fstream}}
 
{{page template|cpp/io/basic_fstream/swap2|basic_fstream}}
 +
 +
 +
 +
 +
 +
 +
 +
 +

Revisión de 22:16 2 nov 2012

 
 
Biblioteca de E/S
Manipuladores de E/S
E/S estilo C
Búferes
(en desuso en C++98)
Flujos
Abstracciones
E/S de archivos
E/S de cadenas
E/S de arrays
(en desuso en C++98)
(en desuso en C++98)
(en desuso en C++98)
Salida sincronizada
Tipos
Interfaz de categoría de error
(C++11)
 
std::basic_fstream
Las funciones miembro
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Las operaciones de archivo
Original:
File operations
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.
basic_fstream::swap(std::basic_fstream)
(C++11)
 
template< class T >
void swap( basic_fstream<T> &lhs, basic_fstream<T> &rhs );
Se especializa en el algoritmo std::swap std::basic_fstream. Intercambios del estado de lhs con la de rhs. Efectivamente llama lhs.swap(rhs) .
Original:
Specializes the std::swap algorithm for std::basic_fstream. 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

Parámetros

lhs, rhs -
corrientes cuyo estado para intercambiar
Original:
streams whose state to swap
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

(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.

Excepciones

(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.

Ejemplo

Ver también

(C++11)
swaps de dos arroyos de archivos
Original:
swaps two file streams
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]