Namespaces
Variants
Views
Actions

std::basic_regex::swap

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

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

Exchanges the contents of two regular expressions.

Contents

Parameters

other - the regular expression to swap with

Return value

(none)

Exceptions

noexcept specification:  
noexcept
  

Example

See also

Template:cpp/regex/basic regex/dcl list swap2