std::filesystem::path::format
来自cppreference.com
< cpp | filesystem | path
文件系统库
类 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
函数 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
文件类型 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::filesystem::path
常量 | |||||||||||||||||||||
path::native_formatpath::generic_formatpath::auto_format
|
|||||||||||||||||||||
成员函数 | |||||||||||||||||||||
|
|||||||||||||||||||||
路径分解 | |||||||||||||||||||||
非成员函数 | |||||||||||||||||||||
|
|||||||||||||||||||||
辅助类 | |||||||||||||||||||||
enum
format {
native_format, |
(C++17 起) | |
确定路径名的字符串表示如何为接受字符串的 std::filesystem::path 构造函数所转译。
常量
在标头
<filesystem>
定义 |
|
值 | 解释 |
native_format
|
原生路径名格式 |
generic_format
|
通用路径名格式 |
auto_format
|
实现定义路径名格式,可行的场合自动检测 |
注意
在 POSIX 系统上,原生与通用格式无区别。
参阅
构造一个 path (公开成员函数) |