다음을 통해 공유


basic_filesystem_error::basic_filesystem_error 생성자

basic_filesystem_error 개체를 생성합니다.

explicit basic_filesystem_error(
   const string& Message,
   error_code Errcode = error_code()
);
basic_filesystem_error(
   const string& Message,
   const path_type Pval1,
   error_code Errcode
);
basic_filesystem_error(
   const string& Message,
   const path_type Pval1,
   const path_type Pval2,
   error_code Errcode
);
basic_filesystem_error(
   basic_filesystem_error&& Right
);

매개 변수

  • Message
    A string that contains an error message.

  • Errcode
    An error_code.

  • Pval1
    An object of template type Path. Path 는 basic_path 또는 basic_path에서 파생된 형식 중 하나일 수 있습니다.

  • Pval2
    Path 개체

  • Right
    basic_filesystem_error 개체

설명

The first constructor constructs its message from Message and Errcode.

The second constructor also uses the Path object that is stored in Pval1.

The third constructor also uses the Path object that is stored in Pval2.

The fourth constructor is a move constructor.

요구 사항

헤더: filesystem

Namespace: std::tr2::sys

참고 항목

참조

basic_filesystem_error 클래스

<filesystem>