std::filesystem::filesystem_error::filesystem_error
提供: cppreference.com
<tbody>
</tbody>
filesystem_error( const std::string& what_arg, std::error_code ec ); |
(1) | (C++17以上) |
filesystem_error( const std::string& what_arg, const std::filesystem::path& p1, std::error_code ec ); |
(2) | (C++17以上) |
filesystem_error( const std::string& what_arg, const std::filesystem::path& p1, const std::filesystem::path& p2, std::error_code ec ); |
(3) | (C++17以上) |
新しいファイルシステムエラーオブジェクトを構築します。 エラーコードは ec に設定され、オプションで、エラーの結果となった操作に関連するパスが p1 と p2 に設定されます。 構築後 what() は what_arg を含む文字列を返します。
引数
| This section is incomplete |
例
| This section is incomplete Reason: no example |