std::match_results::swap
From cppreference.com
                    
                                        
                    < cpp | regex | match results
                    
                                                            
                    | void swap( match_results& other ); | (since C++11) | |
Exchanges the shared states of two match_results objects.
Parameters
| other | - | the match_resultsto swap with | 
Return value
(none)
Exceptions
noexcept specification:  
noexcept
  Example
| This section is incomplete Reason: no example | 
See also
| specializes the std::swap() algorithm (function template) |