cpp/numeric/valarray/swap2: differenze tra le versioni
Da cppreference.com.
m (r2.7.3) (Bot: Aggiungo de, en, es, fr, ja, pt, ru, zh) |
m (Use {{lc}}. Update links. Various fixes.) |
||
Riga 2: | Riga 2: | ||
{{cpp/title | swap<small>(std::valarray)</small>}} | {{cpp/title | swap<small>(std::valarray)</small>}} | ||
{{cpp/numeric/valarray/navbar}} | {{cpp/numeric/valarray/navbar}} | ||
− | {{ | + | {{begin}} |
− | {{ | + | {{| |
template< class T > | template< class T > | ||
void swap( valarray<T> &lhs, valarray<T> &rhs ); | void swap( valarray<T> &lhs, valarray<T> &rhs ); | ||
}} | }} | ||
− | {{ | + | {{end}} |
− | {{tr|Specializzato l'algoritmo {{ | + | {{tr|Specializzato l'algoritmo {{|std::swap}} per {{|std::valarray}}. Scambia il contenuto di {{tt|lhs}} e {{tt|rhs}}. Chiamate {{c|lhs.swap(rhs)}}.|Specializes the {{|std::swap}} algorithm for {{|std::valarray}}. Swaps the contents of {{tt|lhs}} and {{tt|rhs}}. Calls {{c|lhs.swap(rhs)}}.}} |
===Parametri=== | ===Parametri=== | ||
− | {{ | + | {{begin}} |
− | {{ | + | {{| lhs, rhs |{{tr| valarrays il cui contenuto di scambiare| valarrays whose contents to swap}}}} |
− | {{ | + | {{end}} |
===Valore di ritorno=== | ===Valore di ritorno=== | ||
Riga 23: | Riga 23: | ||
===Vedi anche=== | ===Vedi anche=== | ||
− | {{ | + | {{begin}} |
− | {{ | + | {{| cpp/numeric/valarray/swap}} |
− | {{ | + | {{end}} |
[[de:cpp/numeric/valarray/swap2]] | [[de:cpp/numeric/valarray/swap2]] |
Versione attuale delle 14:55, 2 lug 2013
![]() |
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 T > void swap( valarray<T> &lhs, valarray<T> &rhs ); |
||
Specializzato l'algoritmo std::swap per std::valarray. Scambia il contenuto di
lhs
e rhs
. Chiamate lhs.swap(rhs).Original:
Specializes the std::swap algorithm for std::valarray. Swaps the contents of
lhs
and rhs
. 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 | - | valarrays il cui contenuto di scambiare
Original: valarrays 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. |
[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] Complessità
Costante.
Original:
Constant.
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] Vedi anche
swap con un'altra valarray Original: swaps with another valarray The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico) |