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, |
(2) | (C++17 起) |
filesystem_error( const std::string& what_arg,
const std::filesystem::path& p1, |
(3) | (C++17 起) |
构造新的文件系统错误对象。将解释性字符串设为 what_arg
,错误码设为 ec
,并可选地将导致错误的操作所涉及的路径,设为 p1
与 p2
。
what_arg | - | 解释性字符串 |
ec | - | 错误码 |
p1 | - | 错误操作涉及的首个路径 |
p2 | - | 错误操作涉及的第二个路径 |
本节未完成 原因:暂无示例 |