cpp/regex/match results/swap2: differenze tra le versioni
Da cppreference.com.
< cpp | regex | match results
m (r2.7.3) (Bot: Aggiungo de, en, es, fr, ja, pt, ru, zh) |
m (Use {{lc}}. Update links. Various fixes.) |
||
Riga 8: | Riga 8: | ||
}} | }} | ||
− | {{tr|Specializzato l'algoritmo {{ | + | {{tr|Specializzato l'algoritmo {{|std::swap}} per {{|std::match_results}}. Scambi il contenuto di {{tt|x1}} con quelli di {{tt|x2}}. Chiama efficacemente {{c|x1.swap(x2)}}.|Specializes the {{|std::swap}} algorithm for {{|std::match_results}}. Exchanges the contents of {{tt|x1}} with those of {{tt|x2}}. Effectively calls {{c|x1.swap(x2)}}.}} |
===Parametri=== | ===Parametri=== | ||
− | {{ | + | {{begin}} |
− | {{ | + | {{| x1, x2 |{{tr| gli oggetti il cui contenuto match_results verranno scambiati| the match_results objects whose contents will be swapped}}}} |
− | {{ | + | {{hreq}} |
− | {{ | + | {{req concept | BidirIt | BidirectionalIterator}} |
− | {{ | + | {{req concept | Alloc | Allocator}} |
− | {{ | + | {{end}} |
===Valore di ritorno=== | ===Valore di ritorno=== | ||
Riga 31: | Riga 31: | ||
===Vedi anche=== | ===Vedi anche=== | ||
− | {{ | + | {{begin}} |
− | {{ | + | {{| cpp/regex/match_results/swap}} |
− | {{ | + | {{end}} |
[[de:cpp/regex/match results/swap2]] | [[de:cpp/regex/match results/swap2]] |
Versione attuale delle 14:59, 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. |
Elemento definito nell'header <regex>
|
||
template< class BidirIt, class Alloc > void swap( match_results<BidirIt,Alloc>& x1, |
(dal C++11) | |
Specializzato l'algoritmo std::swap per std::match_results. Scambi il contenuto di
x1
con quelli di x2
. Chiama efficacemente x1.swap(x2).Original:
Specializes the std::swap algorithm for std::match_results. Exchanges the contents of
x1
with those of x2
. Effectively calls x1.swap(x2).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
x1, x2 | - | gli oggetti il cui contenuto match_results verranno scambiati
Original: the match_results objects whose contents will 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 | ||
-BidirIt must meet the requirements of BidirectionalIterator .
| ||
-Alloc must meet the requirements of Allocator .
|
[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] Eccezioni
[modifica] Esempio
This section is incomplete Reason: no example |
[modifica] Vedi anche
swap il contenuto Original: swaps the contents The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico) |