Udostępnij za pośrednictwem


basic_filesystem_error::basic_filesystem_error — Konstruktor

Buduje basic_filesystem_error obiektu.

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
);

Parametry

  • Message
    A string zawiera komunikat o błędzie.

  • Errcode
    Kod_błędu.

  • Pval1
    Obiekt typu szablonu Path.Path mogą być albo basic_path lub typ pochodzący z basic_path.

  • Pval2
    Obiekt Path.

  • Right
    Obiekt basic_filesystem_error.

Uwagi

Konstruktor pierwszego konstrukcje jego wiadomość od Message i Errcode.

Używa także drugi Konstruktor Path obiekt, który jest przechowywany w Pval1.

Używa także trzeci Konstruktor Path obiekt, który jest przechowywany w Pval2.

Konstruktor czwarty jest przenieść Konstruktor.

Wymagania

Nagłówek: filesystem

Przestrzeń nazw: std::tr2::sys

Zobacz też

Informacje

basic_filesystem_error — Klasa

<filesystem>