std::match_results<BidirIt,Alloc>::operator=
< cpp | regex | match results
|
在标头
<regex> 定义 |
||
|
match_results& operator=( const match_results& other );
|
(1) | (C++11 起) |
|
match_results& operator=( match_results&& other ) noexcept;
|
(2) | (C++11 起) |
赋值内容。
1) 复制赋值运算符。赋值
other 的内容。2) 移动赋值运算符。用移动语义赋值
other 的内容。操作后 other 在合法但未指定的状态。参数
| other | - | 另一 match_results 对象 |
返回值
*this 。
异常
1) 可能抛出实现定义的异常。