Varianti

cpp/algorithm/swap: differenze tra le versioni

Da cppreference.com.
P12bot (discussione | contributi)
m r2.7.3) (Bot: Aggiungo de, en, fr, ja, pt, zh
P12bot (discussione | contributi)
m Use {{lc}}. Update links. Various fixes.
 
Riga 2: Riga 2:
{{cpp/title|swap}}
{{cpp/title|swap}}
{{cpp/algorithm/navbar}}
{{cpp/algorithm/navbar}}
{{ddcl list begin}}
{{begin}}
{{ddcl list header | algorithm | utility | notes={{mark until c++11}}<br>{{mark since c++11}}}}
{{header | algorithm | utility | notes={{mark until c++11}}<br>{{mark since c++11}}}}
{{ddcl list item | num=1 |
{{| num=1 |
template< class T >
template< class T >
void swap( T& a, T& b );
void swap( T& a, T& b );
}}
}}
{{ddcl list item | num=2 | notes={{mark since c++11}} |
{{| num=2 | =c++11 |
template< class T2, size_t N >
template< class T2, size_t N >
void swap( T2 (&a)[N], T2 (&b)[N]);
void swap( T2 (&a)[N], T2 (&b)[N]);
}}
}}
{{ddcl list end}}
{{end}}


{{tr|Scambi i valori indicati.|Exchanges the given values.}}
{{tr|Scambi i valori indicati.|Exchanges the given values.}}
Riga 21: Riga 21:


===Parametri===
===Parametri===
{{param list begin}}
{{begin}}
{{param list item | a, b |{{tr| i valori da scambiare| the values to be swapped}}}}
{{| a, b |{{tr| i valori da scambiare| the values to be swapped}}}}
{{param list hreq}}
{{hreq}}
{{param list req concept | T | MoveConstructible | MoveAssignable}}
{{req concept | T | MoveConstructible | MoveAssignable}}
{{param list req concept | T2 | Swappable }}
{{req concept | T2 | Swappable }}
{{param list end}}
{{end}}


===Valore di ritorno===
===Valore di ritorno===
Riga 45: Riga 45:


===Specializzazioni===
===Specializzazioni===
{{tr|Entrambi i corsi sono personalizzati e sovraccarichi dell'algoritmo {{c|std::swap}} sono permessi, ma i sovraccarichi sono in genere preferito dal specializzazioni di un modello di funzione non sono ammessi per le classi template. Le funzioni di libreria utilizzare sempre fornito dall'utente sovraccarichi durante lo scambio, se si trovano per argomento-dipendente di ricerca (come da concetto {{concept|Swappable}}).|Both custom specializations and overloads of the {{c|std::swap}} algorithm are allowed, but the overloads are generally preferred since specializations of a function template aren't allowed for template classes. Library functions always use the user-provided overloads when swapping, if they are found by argument-dependent lookup (as per {{concept|Swappable}} concept).}}
{{tr|Entrambi i corsi sono personalizzati e sovraccarichi dell'algoritmo {{|std::swap}} sono permessi, ma i sovraccarichi sono in genere preferito dal specializzazioni di un modello di funzione non sono ammessi per le classi template. Le funzioni di libreria utilizzare sempre fornito dall'utente sovraccarichi durante lo scambio, se si trovano per argomento-dipendente di ricerca (come da concetto {{concept|Swappable}}).|Both custom specializations and overloads of the {{|std::swap}} algorithm are allowed, but the overloads are generally preferred since specializations of a function template aren't allowed for template classes. Library functions always use the user-provided overloads when swapping, if they are found by argument-dependent lookup (as per {{concept|Swappable}} concept).}}


{{tr|Gli overload che seguono sono già fornite dalla libreria standard:|The following overloads are already provided by the standard library:}}
{{tr|Gli overload che seguono sono già fornite dalla libreria standard:|The following overloads are already provided by the standard library:}}


{{dcl list begin}}
{{begin}}
{{dcl list template | cpp/utility/pair/dcl list swap2}}
{{| cpp/utility/pair/swap2}}
{{dcl list template | cpp/utility/tuple/dcl list swap2}}
{{| cpp/utility/tuple/swap2}}
{{dcl list template | cpp/memory/shared_ptr/dcl list swap2}}
{{| cpp/memory/shared_ptr/swap2}}
{{dcl list template | cpp/memory/weak_ptr/dcl list swap2}}
{{| cpp/memory/weak_ptr/swap2}}
{{dcl list template | cpp/memory/unique_ptr/dcl list swap2}}
{{| cpp/memory/unique_ptr/swap2}}
{{dcl list template | cpp/utility/functional/function/dcl list swap2}}
{{| cpp/utility/functional/function/swap2}}
{{dcl list template | cpp/string/basic_string/dcl list swap2}}
{{| cpp/string/basic_string/swap2}}
{{dcl list template | cpp/container/dcl list swap2 | array}}
{{| cpp/container/swap2 | array}}
{{dcl list template | cpp/container/dcl list swap2 | deque}}
{{| cpp/container/swap2 | deque}}
{{dcl list template | cpp/container/dcl list swap2 | forward_list}}
{{| cpp/container/swap2 | forward_list}}
{{dcl list template | cpp/container/dcl list swap2 | list}}
{{| cpp/container/swap2 | list}}
{{dcl list template | cpp/container/dcl list swap2 | vector}}
{{| cpp/container/swap2 | vector}}
{{dcl list template | cpp/container/dcl list swap2 | map}}
{{| cpp/container/swap2 | map}}
{{dcl list template | cpp/container/dcl list swap2 | multimap}}
{{| cpp/container/swap2 | multimap}}
{{dcl list template | cpp/container/dcl list swap2 | set}}
{{| cpp/container/swap2 | set}}
{{dcl list template | cpp/container/dcl list swap2 | multiset}}
{{| cpp/container/swap2 | multiset}}
{{dcl list template | cpp/container/dcl list swap2 | unordered_map}}
{{| cpp/container/swap2 | unordered_map}}
{{dcl list template | cpp/container/dcl list swap2 | unordered_multimap}}
{{| cpp/container/swap2 | unordered_multimap}}
{{dcl list template | cpp/container/dcl list swap2 | unordered_set}}
{{| cpp/container/swap2 | unordered_set}}
{{dcl list template | cpp/container/dcl list swap2 | unordered_multiset}}
{{| cpp/container/swap2 | unordered_multiset}}
{{dcl list template | cpp/container/dcl list swap2 | queue}}
{{| cpp/container/swap2 | queue}}
{{dcl list template | cpp/container/dcl list swap2 | priority_queue}}
{{| cpp/container/swap2 | priority_queue}}
{{dcl list template | cpp/container/dcl list swap2 | stack}}
{{| cpp/container/swap2 | stack}}
{{dcl list tfun | cpp/numeric/valarray/swap2 | title=std::swap{{dcl small|(std::valarray)}} |{{tr| specializzata l'algoritmo {{cpp/ltf|cpp/algorithm/swap}}| specializes the {{cpp/ltf|cpp/algorithm/swap}} algorithm}}| notes={{mark c++11}}}}
{{tfun | cpp/numeric/valarray/swap2 | title=std::swap{{small|(std::valarray)}} |{{tr| specializzata l'algoritmo {{cpp/ltf|cpp/algorithm/swap}}| specializes the {{cpp/ltf|cpp/algorithm/swap}} algorithm}}| notes={{mark c++11}}}}
{{dcl list tfun | cpp/io/basic_stringbuf/swap2 | title=std::swap{{dcl small|(std::basic_stringbuf)}} |{{tr| specializzata l'algoritmo {{cpp/ltf|cpp/algorithm/swap}}| specializes the {{cpp/ltf|cpp/algorithm/swap}} algorithm}}| notes={{mark c++11}}}}
{{tfun | cpp/io/basic_stringbuf/swap2 | title=std::swap{{small|(std::basic_stringbuf)}} |{{tr| specializzata l'algoritmo {{cpp/ltf|cpp/algorithm/swap}}| specializes the {{cpp/ltf|cpp/algorithm/swap}} algorithm}}| notes={{mark c++11}}}}
{{dcl list tfun | cpp/io/basic_istringstream/swap2 | title=std::swap{{dcl small|(std::basic_istringstream)}} |{{tr| specializzata l'algoritmo {{cpp/ltf|cpp/algorithm/swap}}| specializes the {{cpp/ltf|cpp/algorithm/swap}} algorithm}}| notes={{mark c++11}}}}
{{tfun | cpp/io/basic_istringstream/swap2 | title=std::swap{{small|(std::basic_istringstream)}} |{{tr| specializzata l'algoritmo {{cpp/ltf|cpp/algorithm/swap}}| specializes the {{cpp/ltf|cpp/algorithm/swap}} algorithm}}| notes={{mark c++11}}}}
{{dcl list tfun | cpp/io/basic_ostringstream/swap2 | title=std::swap{{dcl small|(std::basic_ostringstream)}} |{{tr| specializzata l'algoritmo {{cpp/ltf|cpp/algorithm/swap}}| specializes the {{cpp/ltf|cpp/algorithm/swap}} algorithm}}| notes={{mark c++11}}}}
{{tfun | cpp/io/basic_ostringstream/swap2 | title=std::swap{{small|(std::basic_ostringstream)}} |{{tr| specializzata l'algoritmo {{cpp/ltf|cpp/algorithm/swap}}| specializes the {{cpp/ltf|cpp/algorithm/swap}} algorithm}}| notes={{mark c++11}}}}
{{dcl list tfun | cpp/io/basic_stringstream/swap2 | title=std::swap{{dcl small|(std::basic_stringstream)}} |{{tr| specializzata l'algoritmo {{cpp/ltf|cpp/algorithm/swap}}| specializes the {{cpp/ltf|cpp/algorithm/swap}} algorithm}}| notes={{mark c++11}}}}
{{tfun | cpp/io/basic_stringstream/swap2 | title=std::swap{{small|(std::basic_stringstream)}} |{{tr| specializzata l'algoritmo {{cpp/ltf|cpp/algorithm/swap}}| specializes the {{cpp/ltf|cpp/algorithm/swap}} algorithm}}| notes={{mark c++11}}}}
{{dcl list tfun | cpp/io/basic_filebuf/swap2 | title=std::swap{{dcl small|(std::basic_filebuf)}} |{{tr| specializzata l'algoritmo {{cpp/ltf|cpp/algorithm/swap}}| specializes the {{cpp/ltf|cpp/algorithm/swap}} algorithm}}| notes={{mark c++11}}}}
{{tfun | cpp/io/basic_filebuf/swap2 | title=std::swap{{small|(std::basic_filebuf)}} |{{tr| specializzata l'algoritmo {{cpp/ltf|cpp/algorithm/swap}}| specializes the {{cpp/ltf|cpp/algorithm/swap}} algorithm}}| notes={{mark c++11}}}}
{{dcl list template | cpp/io/basic_fstream/dcl list swap2 | basic_ifstream}}
{{| cpp/io/basic_fstream/swap2 | basic_ifstream}}
{{dcl list template | cpp/io/basic_fstream/dcl list swap2 | basic_ofstream}}
{{| cpp/io/basic_fstream/swap2 | basic_ofstream}}
{{dcl list template | cpp/io/basic_fstream/dcl list swap2 | basic_fstream}}
{{| cpp/io/basic_fstream/swap2 | basic_fstream}}
{{dcl list tfun | cpp/regex/basic_regex/swap2 | title=std::swap{{dcl small|(std::basic_regex)}} |{{tr| specializzata l'algoritmo {{cpp/ltf|cpp/algorithm/swap}}| specializes the {{cpp/ltf|cpp/algorithm/swap}} algorithm}}| notes={{mark c++11}}}}
{{tfun | cpp/regex/basic_regex/swap2 | title=std::swap{{small|(std::basic_regex)}} |{{tr| specializzata l'algoritmo {{cpp/ltf|cpp/algorithm/swap}}| specializes the {{cpp/ltf|cpp/algorithm/swap}} algorithm}}| notes={{mark c++11}}}}
{{dcl list tfun | cpp/regex/match_results/swap2 | title=std::swap{{dcl small|(std::match_results)}} |{{tr| specializzata l'algoritmo {{cpp/ltf|cpp/algorithm/swap}}| specializes the {{cpp/ltf|cpp/algorithm/swap}} algorithm}}| notes={{mark c++11}}}}
{{tfun | cpp/regex/match_results/swap2 | title=std::swap{{small|(std::match_results)}} |{{tr| specializzata l'algoritmo {{cpp/ltf|cpp/algorithm/swap}}| specializes the {{cpp/ltf|cpp/algorithm/swap}} algorithm}}| notes={{mark c++11}}}}
{{dcl list template | cpp/thread/thread/dcl list swap2}}
{{| cpp/thread/thread/swap2}}
{{dcl list tfun | cpp/thread/unique_lock/swap2 | title=std::swap{{dcl small|(std::unique_lock)}} |{{tr| specializzata l'algoritmo {{cpp/ltf|cpp/algorithm/swap}}| specializes the {{cpp/ltf|cpp/algorithm/swap}} algorithm}}| notes={{mark c++11}}}}
{{tfun | cpp/thread/unique_lock/swap2 | title=std::swap{{small|(std::unique_lock)}} |{{tr| specializzata l'algoritmo {{cpp/ltf|cpp/algorithm/swap}}| specializes the {{cpp/ltf|cpp/algorithm/swap}} algorithm}}| notes={{mark c++11}}}}
{{dcl list tfun | cpp/thread/promise/swap2 | title=std::swap{{dcl small|(std::promise)}} |{{tr| specializzata l'algoritmo {{cpp/ltf|cpp/algorithm/swap}}| specializes the {{cpp/ltf|cpp/algorithm/swap}} algorithm}}| notes={{mark c++11}}}}
{{tfun | cpp/thread/promise/swap2 | title=std::swap{{small|(std::promise)}} |{{tr| specializzata l'algoritmo {{cpp/ltf|cpp/algorithm/swap}}| specializes the {{cpp/ltf|cpp/algorithm/swap}} algorithm}}| notes={{mark c++11}}}}
{{dcl list tfun | cpp/thread/packaged_task/swap2 | title=std::swap{{dcl small|(std::packaged_task)}} |{{tr| specializzata l'algoritmo {{cpp/ltf|cpp/algorithm/swap}}| specializes the {{cpp/ltf|cpp/algorithm/swap}} algorithm}}| notes={{mark c++11}}}}
{{tfun | cpp/thread/packaged_task/swap2 | title=std::swap{{small|(std::packaged_task)}} |{{tr| specializzata l'algoritmo {{cpp/ltf|cpp/algorithm/swap}}| specializes the {{cpp/ltf|cpp/algorithm/swap}} algorithm}}| notes={{mark c++11}}}}
{{dcl list end}}
{{end}}


===Esempio===
===Esempio===
Riga 98: Riga 98:


===Vedi anche===
===Vedi anche===
{{dcl list begin}}
{{begin}}
{{dcl list template | cpp/algorithm/dcl list iter_swap}}
{{| cpp/algorithm/iter_swap}}
{{dcl list template | cpp/algorithm/dcl list swap_ranges}}
{{| cpp/algorithm/swap_ranges}}
{{dcl list end}}
{{end}}


[[de:cpp/algorithm/swap]]
[[de:cpp/algorithm/swap]]

Versione attuale delle 19:25, 2 lug 2013

<metanoindex/>

 
 
Algoritmo libreria
Funzioni
Original:
Functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Non modifica le operazioni di sequenza
Original:
Non-modifying sequence operations
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Modifica delle operazioni di sequenza
Original:
Modifying sequence operations
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Partizionamento operazioni
Original:
Partitioning operations
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Ordinamento delle operazioni (su intervalli ordinati)
Original:
Sorting operations (on sorted ranges)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Binarie (le operazioni di ricerca sui campi ordinati)
Original:
Binary search operations (on sorted ranges)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Impostare le operazioni (su intervalli ordinati)
Original:
Set operations (on sorted ranges)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Heap operazioni
Original:
Heap operations
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Minimo / massimo le operazioni
Original:
Minimum/maximum operations
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Operazioni numeriche
Original:
Numeric operations
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Libreria C
Original:
C library
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
<tbody> </tbody>
Elemento definito nell'header <algorithm>
Elemento definito nell'header <utility>
(fino al c++11)
(dal C++11)
template< class T > void swap( T& a, T& b );
(1)
template< class T2, size_t N > void swap( T2 (&a)[N], T2 (&b)[N]);
(2) (dal C++11)
Scambi i valori indicati.
Original:
Exchanges the given values.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

1)

Scambia i valori a e b.
Original:
Swaps the values a and b.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

2)

Swap gli array a e b. In effetti le chiamate std::swap_ranges(a, a+N, b).
Original:
Swaps the arrays a and b. In effect calls std::swap_ranges(a, a+N, b).
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Parametri

a, b -
i valori da scambiare
Original:
the values to be swapped
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Type requirements
-
T must meet the requirements of MoveAssignable and MoveConstructible.
-
T2 must meet the requirements of Swappable.

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.

Eccezioni

1)

noexcept specification:  (dal C++11)
<tbody> </tbody>
noexcept(noexcept( std::is_nothrow_move_constructible<T>::value && std::is_nothrow_move_assignable<T>::value ))

2)

noexcept specification:  (dal C++11)
<tbody> </tbody>
noexcept(noexcept(swap(*a, *b)))

Complessità

1)

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

2)

Lineare in N
Original:
Linear in N
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Specializzazioni

Entrambi i corsi sono personalizzati e sovraccarichi dell'algoritmo std::swap sono permessi, ma i sovraccarichi sono in genere preferito dal specializzazioni di un modello di funzione non sono ammessi per le classi template. Le funzioni di libreria utilizzare sempre fornito dall'utente sovraccarichi durante lo scambio, se si trovano per argomento-dipendente di ricerca (come da concetto Swappable).
Original:
Both custom specializations and overloads of the std::swap algorithm are allowed, but the overloads are generally preferred since specializations of a function template aren't allowed for template classes. Library functions always use the user-provided overloads when swapping, if they are found by argument-dependent lookup (as per Swappable concept).
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Gli overload che seguono sono già fornite dalla libreria standard:
Original:
The following overloads are already provided by the standard library:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
specializzata l'algoritmo std::swap
Original:
specializes the std::swap algorithm
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) [modifica]
specializzata l'algoritmo std::swap
Original:
specializes the std::swap algorithm
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) [modifica]
specializzata l'algoritmo std::swap
Original:
specializes the std::swap algorithm
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) [modifica]
specializzata l'algoritmo std::swap
Original:
specializes the std::swap algorithm
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) [modifica]
specializzata l'algoritmo std::swap
Original:
specializes the std::swap algorithm
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) [modifica]
specializzata l'algoritmo std::swap
Original:
specializes the std::swap algorithm
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) [modifica]
specializza l'algoritmo std::swap
(funzione di modello) [modifica]
specializzata l'algoritmo std::swap
Original:
specializes the std::swap algorithm
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) [modifica]
specializzata l'algoritmo std::swap
Original:
specializes the std::swap algorithm
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) [modifica]
specializzata l'algoritmo std::swap
Original:
specializes the std::swap algorithm
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) [modifica]
specializzata l'algoritmo std::swap
Original:
specializes the std::swap algorithm
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) [modifica]
specializzata l'algoritmo std::swap
Original:
specializes the std::swap algorithm
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) [modifica]
specializzata l'algoritmo std::swap
Original:
specializes the std::swap algorithm
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) [modifica]
specializzata l'algoritmo std::swap
Original:
specializes the std::swap algorithm
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) [modifica]
specializzata l'algoritmo std::swap
Original:
specializes the std::swap algorithm
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) [modifica]
specializzata l'algoritmo std::swap
Original:
specializes the std::swap algorithm
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) [modifica]
specializzata l'algoritmo std::swap
Original:
specializes the std::swap algorithm
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) [modifica]
specializzata l'algoritmo std::swap
Original:
specializes the std::swap algorithm
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) [modifica]
specializzata l'algoritmo std::swap
Original:
specializes the std::swap algorithm
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) [modifica]
specializzata l'algoritmo std::swap
Original:
specializes the std::swap algorithm
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) [modifica]
specializzata l'algoritmo std::swap
Original:
specializes the std::swap algorithm
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) [modifica]
specializzata l'algoritmo std::swap
Original:
specializes the std::swap algorithm
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) [modifica]
specializzata l'algoritmo std::swap
Original:
specializes the std::swap algorithm
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) [modifica]
specializzata l'algoritmo std::swap()
Original:
specializes the std::swap() algorithm
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)
specializzata l'algoritmo std::swap()
Original:
specializes the std::swap() algorithm
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)
specializzata l'algoritmo std::swap()
Original:
specializes the std::swap() algorithm
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)
specializzata l'algoritmo std::swap()
Original:
specializes the std::swap() algorithm
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)
specializzata l'algoritmo std::swap()
Original:
specializes the std::swap() algorithm
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)
specializzata l'algoritmo std::swap()
Original:
specializes the std::swap() algorithm
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)
specializzata l'algoritmo std::swap
Original:
specializes the std::swap algorithm
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) [modifica]
specializzata l'algoritmo std::swap
Original:
specializes the std::swap algorithm
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) [modifica]
specializzata l'algoritmo std::swap
Original:
specializes the std::swap algorithm
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) [modifica]
specializzata l'algoritmo std::swap()
Original:
specializes the std::swap() algorithm
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)
specializzata l'algoritmo std::swap()
Original:
specializes the std::swap() algorithm
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)
specializzata l'algoritmo std::swap
Original:
specializes the std::swap algorithm
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) [modifica]
specializzata l'algoritmo std::swap()
Original:
specializes the std::swap() algorithm
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)
specializzata l'algoritmo std::swap()
Original:
specializes the std::swap() algorithm
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)
specializzata l'algoritmo std::swap()
Original:
specializes the std::swap() algorithm
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)

Esempio

Vedi anche

swap gli elementi a cui punta due iteratori
Original:
swaps the elements pointed to by two iterators
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) [modifica]
Scambia due gamme di elementi
Original:
swaps two ranges of elements
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) [modifica]