首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

std::filesystem::filesystem_error::filesystem_error

filesystem_error( const std::string& what_arg, std::error_code ec );

(1)

(since C++17)

filesystem_error( const std::string& what_arg, const std::filesystem::path& p1, std::error_code ec );

(2)

(since C++17)

filesystem_error( const std::string& what_arg, const std::filesystem::path& p1, const std::filesystem::path& p2, std::error_code ec );

(3)

(since C++17)

构造一个新的文件系统错误对象。解释字符串设置为what_arg,错误代码设置为ec还可以将导致错误的操作所涉及的路径设置为p1p2...

参数

代码语言:txt
复制
 ? cppreference.com

在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。

扫码关注腾讯云开发者

领取腾讯云代金券

http://www.vxiaotou.com