std::swap<div class="t-tr-text">(Std :: match_results)<div class="t-tr-dropdown"><div><div><div class="t-tr-dropdown-arrow-border"></div><div class="t-tr-dropdown-arrow"></div><div class="t-tr-dropdown-h">Original:</div><div class="t-tr-dropdown-orig">(std::match_results)</div><div class="t-tr-dropdown-notes">The text has been machine-translated via [http://translate.google.com Google Translate].<br/> You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.</div></div></div></div></div>
De cppreference.com
< cpp | regex | match results
|
|
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. |
| Defined in header <regex>
|
||
| template< class BidirIt, class Alloc > void swap( match_results<BidirIt,Alloc>& x1, |
(ya que C + +11) | |
Se especializa en el algoritmo std::swap std::match_results. Intercambia el contenido de
x1 con los de x2. Efectivamente llama 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.
Contenido |
[editar] Parámetros
| x1, x2 | - | los objetos match_results cuyos contenidos se intercambian
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.
| ||
[editar] Valor de retorno
(Ninguno)
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.
[editar] Excepciones
[editar] Ejemplo
| This section is incomplete Reason: no example |
[editar] Ver también
| intercambia los contenidos 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. (miembro público función) | |