名稱空間
變體
操作

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

[編輯] 引數

其他 - 另一個要賦值的 regex_error 物件

[編輯] 返回值

*this

[編輯] 示例