std::regex_error::operator=

来自cppreference.com
< cpp‎ | regex‎ | regex error
regex_error& operator=(const regex_error& other )noexcept;
(C++11 起)

other 的内容赋值。若 *thisother 均拥有动态类型 std::regex_error 则赋值后 std::strcmp(what(), other.what())==0

[编辑]参数

other - 用以赋值的另一 regex_error 对象

[编辑]返回值

*this

[编辑]示例

close