match_results& operator=( const match_results& other );
(1)match_results& operator=( match_results&& other ) noexcept;
(2)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.
Given the value of other before the assignment as m and any integer in [
â0â,
m.size())
as n, when the assignment finishes, the following member functions should return the specified values:
*this
[edit] Exceptions1) May throw implementation-defined exceptions.
[edit] Defect reportsThe following behavior-changing defect reports were applied retroactively to previously published C++ standards.
DR Applied to Behavior as published Correct behavior LWG 2191 C++11 n could be negative in the postconditions can only be non-negativeRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4