Espaces de noms
Variantes
Affichages
Actions

cpp/regex/basic regex/swap2 : Différence entre versions

De cppreference.com
< cpp‎ | regex‎ | basic regex
m (1 version : Translate from the English version)
m (Use {{lc}}. Update links. Various fixes.)
 
(Une révision intermédiaire par un utilisateur est masquée)
Ligne 2 : Ligne 2 :
 
{{cpp/title | swap<small>(std::basic_regex)</small>}}
 
{{cpp/title | swap<small>(std::basic_regex)</small>}}
 
{{cpp/regex/basic_regex/navbar}}
 
{{cpp/regex/basic_regex/navbar}}
{{ddcl list begin}}
+
{{begin}}
{{ddcl list item |
+
{{|
 
template< class CharT, class Traits >
 
template< class CharT, class Traits >
 
void swap( basic_regex<CharT,Traits> &lhs, basic_regex<CharT,Traits> &rhs );
 
void swap( basic_regex<CharT,Traits> &lhs, basic_regex<CharT,Traits> &rhs );
 
}}
 
}}
{{ddcl list end}}
+
{{end}}
  
{{tr|Surcharges l'algorithme {{c|std::swap}} pour {{c|std::basic_regex}}. Les échanges de l'état de {{tt|lhs}} avec celle de {{tt|rhs}}. Appelle effectivement {{c|lhs.swap(rhs)}} .|Overloads the {{c|std::swap}} algorithm for {{c|std::basic_regex}}. Exchanges the state of {{tt|lhs}} with that of {{tt|rhs}}. Effectively calls {{c|lhs.swap(rhs)}}.}}
+
{{tr|Surcharges l'algorithme {{|std::swap}} pour {{|std::basic_regex}}. Les échanges de l'état de {{tt|lhs}} avec celle de {{tt|rhs}}. Appelle effectivement {{c|lhs.swap(rhs)}} .|Overloads the {{|std::swap}} algorithm for {{|std::basic_regex}}. Exchanges the state of {{tt|lhs}} with that of {{tt|rhs}}. Effectively calls {{c|lhs.swap(rhs)}}.}}
  
 
===Paramètres===
 
===Paramètres===
{{param list begin}}
+
{{begin}}
{{param list item | lhs, rhs |{{tr| des expressions régulières pour échanger| regular expressions to swap}}}}
+
{{| lhs, rhs |{{tr| des expressions régulières pour échanger| regular expressions to swap}}}}
{{param list end}}
+
{{end}}
  
 
===Retourne la valeur===
 
===Retourne la valeur===
Ligne 29 : Ligne 29 :
  
 
===Voir aussi===
 
===Voir aussi===
{{dcl list begin}}
+
{{begin}}
{{dcl list template | cpp/regex/basic_regex/dcl list swap}}
+
{{| cpp/regex/basic_regex/swap}}
{{dcl list end}}
+
{{end}}
 +
 
 +
 +
 +
 +
 +
 +
 +
 +

Version actuelle en date du 2 juillet 2013 à 05:43