cpp/regex/basic regex/swap2 : Différence entre versions
De cppreference.com
< cpp | regex | basic regex
P12 (discuter | contributions) 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}} | ||
− | {{ | + | {{begin}} |
− | {{ | + | {{| |
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 ); | ||
}} | }} | ||
− | {{ | + | {{end}} |
− | {{tr|Surcharges l'algorithme {{ | + | {{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=== | ||
− | {{ | + | {{begin}} |
− | {{ | + | {{| lhs, rhs |{{tr| des expressions régulières pour échanger| regular expressions to swap}}}} |
− | {{ | + | {{end}} |
===Retourne la valeur=== | ===Retourne la valeur=== | ||
Ligne 29 : | Ligne 29 : | ||
===Voir aussi=== | ===Voir aussi=== | ||
− | {{ | + | {{begin}} |
− | {{ | + | {{| cpp/regex/basic_regex/swap}} |
− | {{ | + | {{end}} |
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ |
Version actuelle en date du 2 juillet 2013 à 05:43
![]() |
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |