std::swap(std::match_results)

Header: <regex>

Specializes the std::swap algorithm for std::match_results. Exchanges the contents of x1 with those of x2. Effectively calls x1.swap(x2).

# Declarations

template< class BidirIt, class Alloc >
void swap( match_results<BidirIt,Alloc>& x1,
match_results<BidirIt,Alloc>& x2 ) noexcept;

(since C++11)

# Parameters

# Return value

(none)

# Example

This section is incompleteReason: no example

# See also