Namespaces
Variants
Actions

std::match_results<BidirIt,Alloc>::swap

From cppreference.com
< cpp‎ | regex‎ | match results
 
 
 
Regular expressions library
Classes
(C++11)
(C++11)
Algorithms
(C++11)
(C++11)
Iterators
Exceptions
(C++11)
Traits
(C++11)
Constants
(C++11)
Regex Grammar
 
 
void swap( match_results& other ) noexcept;
(since C++11)

Exchanges the shared states of two match_results objects.

[edit] Parameters

other - the match_results to swap with

[edit] Return value

(none)

[edit] Example

This section is incomplete
Reason: no example

[edit] See also

specializes the std::swap algorithm
(function template) [edit]
Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/regex/match_results/swap&oldid=161033"

AltStyle によって変換されたページ (->オリジナル) /