Namespaces
Variants

std::regex_error:: regex_error

From cppreference.net
Regular expressions library
Classes
(C++11)
Algorithms
Iterators
Exceptions
Traits
Constants
(C++11)
Regex Grammar
헤더 파일에 정의됨 <regex>
(1) (C++11 이후)
regex_error ( const regex_error & other ) ;
(2) (C++11 이후)
1) 주어진 ecode 타입의 std::regex_constants::error_type 를 갖는 regex_error 를 생성합니다.
2) 복사 생성자. 내용을 other 의 내용으로 초기화합니다. * this other 모두가 동적 타입 std::regex_error 를 갖는 경우 std:: strcmp ( what ( ) , other. what ( ) ) == 0 입니다.

매개변수

ecode - 정규식 파싱에서 발생한 오류를 나타내는 오류 코드
other - 복사할 다른 regex_error 객체

참고 항목

(C++11)
다양한 유형의 매칭 오류를 설명합니다
(typedef)