Namespaces
Variants
Views
Actions

std::match_results::swap

From cppreference.com
< cpp‎ | regex‎ | match results
Revision as of 13:00, 2 November 2012 by P12bot (Talk | contribs)

void swap( match_results& other );
(since C++11)

Exchanges the shared states of two match_results objects.

Contents

Parameters

other - the match_results to swap with

Return value

(none)

Exceptions

noexcept specification:  
noexcept
  

Example

See also

Template:cpp/regex/match results/dcl list swap2