std::match_results::swap

From cppreference.com
< cpplrm; | regexlrm; | match results
void swap( match_results& other ) noexcept;
(since C++11)

Exchanges the shared states of two match_results objects.

Parameters

other - the match_results to swap with

Return value

(none)

Example

See also

specializes the std::swap() algorithm
(function template)