std::regex_error::operator=
来自cppreference.com
< cpp | regex | regex error
正则表达式库
类 | ||||
(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::regex_error
成员函数 | ||||
regex_error::operator=
|
||||
regex_error&
operator=(
const
regex_error&
other )
noexcept;
|
(C++11 起) | |
以 other
的内容赋值。若 *this
与 other
均拥有动态类型
std::regex_error
则赋值后 std::strcmp(what(),
other.what())
== 0 。
参数
other | - | 用以赋值的另一 system_error 对象
|
返回值
*this
示例
本节未完成 原因:暂无示例 |