std::regex_error::operator=
来自 cppreference.cn
< cpp | regex | regex error
regex_error& operator=( const regex_error& other ) noexcept; |
(C++11 起) | |
将内容赋值为 other 的内容。如果 *this 和 other 都具有动态类型 std::regex_error
,则赋值后 std::strcmp(what(), other.what()) == 0。
[编辑] 参数
其他 | - | 另一个要赋值的 regex_error 对象 |
[编辑] 返回值
*this
[编辑] 示例
本节不完整 原因:无示例 |