std::match_results<BidirIt,Alloc>::swap - cppreference.com (original) (raw)

| 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

[edit] See also