Namespaces
Variants
Views
Actions

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

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

Exchanges the shared states of two match_results objects.

Contents

[edit] Parameters

other - the match_results to swap with

[edit] Return value

(none)

[edit] Example

[edit] See also

specializes the std::swap algorithm
(function template) [edit]