std::swap(std::basic_filebuf)
Da cppreference.com.
< cpp | io | basic filebuf
![]() | Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate. La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
template<class CharT, class Traits > void swap(std::basic_filebuf<CharT, Traits>& lhs, | (dal C++11) | |
Sovraccarico l'algoritmo std::swap per std::basic_filebuf. Scambi lo stato di
lhs
con quella di rhs
. Chiama efficacemente 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.
You can help to correct and verify the translation. Click here for instructions.
Indice |
[modifica]Parametri
lhs, rhs | - | std::basic_filebuf oggetti di cui gli Stati a scambiare 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. |
[modifica]Valore di ritorno
(Nessuno)
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.
[modifica]Esempio
This section is incomplete Reason: no example |
[modifica]Vedi anche
(C++11) | swap due oggetti 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. (metodo pubblico) |
scambia i valori di due oggetti Original: swaps the values of two objects The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione di modello) |