| Localization library | |||||||||||||||||||||||||
| Regular expressions library(C++11) | |||||||||||||||||||||||||
| Formatting library(C++20) | |||||||||||||||||||||||||
| Null-terminated sequence utilities | |||||||||||||||||||||||||
| Byte strings | |||||||||||||||||||||||||
| Multibyte strings | |||||||||||||||||||||||||
| Wide strings | |||||||||||||||||||||||||
| Primitive numeric conversions | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
| Text encoding identifications | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
| Classes | ||||
(C++11) | ||||
(C++11) | ||||
(C++11) | ||||
| Algorithms | ||||
(C++11) | ||||
(C++11) | ||||
(C++11) | ||||
| Iterators | ||||
(C++11) | ||||
(C++11) | ||||
| Exceptions | ||||
(C++11) | ||||
| Traits | ||||
(C++11) | ||||
| Constants | ||||
(C++11) | ||||
(C++11) | ||||
(C++11) | ||||
| Regex Grammar | ||||
(C++11) |
| Member functions | ||||
| State | ||||
| Element access | ||||
| Iterators | ||||
| Format | ||||
| Modifiers | ||||
| Non-member functions | ||||
(until C++20) | ||||
swap(std::match_results) |
Defined in header <regex> | ||
template<class BidirIt,class Alloc> void swap( match_results<BidirIt,Alloc>& x1, | (since C++11) | |
Specializes thestd::swap algorithm forstd::match_results. Exchanges the contents ofx1 with those ofx2. Effectively callsx1.swap(x2).
Contents |
| x1, x2 | - | the match_results objects whose contents will be swapped |
| Type requirements | ||
-BidirIt must meet the requirements ofLegacyBidirectionalIterator. | ||
-Alloc must meet the requirements ofAllocator. | ||
(none)
| This section is incomplete Reason: no example |
| swaps the contents (public member function)[edit] |