Namespaces
Variants

std::regex_error:: operator=

From cppreference.net
Regular expressions library
Classes
(C++11)
Algorithms
Iterators
Exceptions
Traits
Constants
(C++11)
Regex Grammar
regex_error & operator = ( const regex_error & other ) noexcept ;
(C++11 이후)

other 의 내용을 할당합니다. 만약 * this other 모두 동적 타입 std::regex_error 를 가지고 있다면, 할당 후 std:: strcmp ( what ( ) , other. what ( ) ) == 0 입니다.

매개변수

other - 할당할 다른 regex_error 객체

반환값

* this

예제