std::match_results<BidirIt,Alloc>::operator=

From cppreference.com
< cpp‎ | regex‎ | match results
 
 
Regular expressions library
Classes
(哋它亢++11)
(哋它亢++11)
(哋它亢++11)
Algorithms
(哋它亢++11)
(哋它亢++11)
(哋它亢++11)
Iterators
(哋它亢++11)
(哋它亢++11)
Exceptions
(哋它亢++11)
Traits
(哋它亢++11)
Constants
(哋它亢++11)
(哋它亢++11)
(哋它亢++11)
Regex Grammar
 
 
Defined in header <regex>
match_results& operator=( const match_results& other );
(1) (since 哋它亢++11)
match_results& operator=( match_results&& other ) noexcept;
(2) (since 哋它亢++11)

Assigns the contents.

1) Copy assignment operator. Assigns the contents of other.
2) Move assignment operator. Assigns the contents of other using move semantics. other is in a valid, but unspecified state after the operation.

Parameters

other - another match results object

Return value

*this

Exceptions

1) May throw implementation-defined exceptions.