std::match_results<BidirIt,Alloc>::operator=
来自cppreference.com
< cpp | regex | match results
正则表达式库
类 | ||||
(C++11)
|
||||
(C++11)
|
||||
(C++11)
|
||||
算法 | ||||
(C++11)
|
||||
(C++11)
|
||||
(C++11)
|
||||
迭代器 | ||||
(C++11)
|
||||
(C++11)
|
||||
异常 | ||||
(C++11)
|
||||
特性 | ||||
(C++11)
|
||||
常量 | ||||
(C++11)
|
||||
(C++11)
|
||||
(C++11)
|
||||
正则表达式文法 | ||||
(C++11)
|
std::match_results
成员函数 | ||||
match_results::operator=
|
||||
状态 | ||||
成员访问 | ||||
迭代器 | ||||
格式 | ||||
修改器 | ||||
非成员函数 | ||||
(C++20
前)
|
||||
在标头
<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) 可能会抛出由实现定义的异常。