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 (r2.7.3) (robot Ajoute : de, en, es, it, ja, pt, ru, zh) |
||
Ligne 32 : | Ligne 32 : | ||
{{dcl list template | cpp/regex/basic_regex/dcl list swap}} | {{dcl list template | cpp/regex/basic_regex/dcl list swap}} | ||
{{dcl list end}} | {{dcl list end}} | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ |
Version du 2 novembre 2012 à 13:37
![]() |
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. |
template< class CharT, class Traits > void swap( basic_regex<CharT,Traits> &lhs, basic_regex<CharT,Traits> &rhs ); |
||
Surcharges l'algorithme std::swap pour std::basic_regex. Les échanges de l'état de
lhs
avec celle de rhs
. Appelle effectivement lhs.swap(rhs) .Original:
Overloads the std::swap algorithm for std::basic_regex. Exchanges the state of
lhs
with that of rhs
. Effectively calls lhs.swap(rhs).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.
Sommaire |
Paramètres
lhs, rhs | - | des expressions régulières pour échanger
Original: regular expressions to swap The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Retourne la valeur
(Aucun)
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.
Exceptions
Exemple
This section is incomplete Reason: no example |