Namespace
Varianti

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 {{c|std::swap}} per {{c|std::match_results}}. Scambi il contenuto di {{tt|x1}} con quelli di {{tt|x2}}. Chiama efficacemente {{c|x1.swap(x2)}}.|Specializes the {{c|std::swap}} algorithm for {{c|std::match_results}}. Exchanges the contents of {{tt|x1}} with those of {{tt|x2}}. Effectively calls {{c|x1.swap(x2)}}.}}
+
{{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===
{{param list begin}}
+
{{begin}}
{{param list item | x1, x2 |{{tr| gli oggetti il ​​cui contenuto match_results verranno scambiati| the match_results objects whose contents will be swapped}}}}
+
{{| x1, x2 |{{tr| gli oggetti il ​​cui contenuto match_results verranno scambiati| the match_results objects whose contents will be swapped}}}}
{{param list hreq}}
+
{{hreq}}
{{param list req concept | BidirIt | BidirectionalIterator}}
+
{{req concept | BidirIt | BidirectionalIterator}}
{{param list req concept | Alloc | Allocator}}
+
{{req concept | Alloc | Allocator}}
{{param list end}}
+
{{end}}
  
 
===Valore di ritorno===
 
===Valore di ritorno===
Riga 31: Riga 31:
  
 
===Vedi anche===
 
===Vedi anche===
{{dcl list begin}}
+
{{begin}}
{{dcl list template | cpp/regex/match_results/dcl list swap}}
+
{{| cpp/regex/match_results/swap}}
{{dcl list end}}
+
{{end}}
  
 
[[de:cpp/regex/match results/swap2]]
 
[[de:cpp/regex/match results/swap2]]

Versione attuale delle 14:59, 2 lug 2013

 
 
Espressioni regolari libreria
Classi
Original:
Classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_regex(C++11)
sub_match(C++11)
match_results(C++11)
Algoritmi
Original:
Algorithms
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
regex_match(C++11)
regex_search(C++11)
regex_replace(C++11)
Iteratori
Original:
Iterators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
regex_iterator(C++11)
regex_token_iterator(C++11)
Eccezioni
Original:
Exceptions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
regex_error(C++11)
Tratti
Original:
Traits
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
regex_traits(C++11)
Costanti
Original:
Constants
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
syntax_option_type(C++11)
match_flag_type(C++11)
error_type(C++11)
 
std::match_results
Membri funzioni
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.
match_results::match_results
match_results::~match_results
match_results::operator=
match_results::get_allocator
Stato
Original:
State
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
match_results::ready
Elemento accesso
Original:
Element access
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
match_results::size
match_results::max_size
match_results::empty
match_results::length
match_results::position
match_results::str
match_results::operator_at
match_results::prefix
match_results::suffix
Iteratori
Original:
Iterators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
match_results::begin
match_results::cbegin
match_results::end
match_results::cend
Formato
Original:
Format
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
match_results::format
Modificatori
Original:
Modifiers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
match_results::swap
 
Elemento definito nell'header <regex>
template< class BidirIt, class Alloc >

void swap( match_results<BidirIt,Alloc>& x1,

           match_results<BidirIt,Alloc>& x2 );
(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.

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.

[modifica] Eccezioni

noexcept specification:  
noexcept
  (dal C++11)

[modifica] Esempio

[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) [modifica]