std::filesystem::path:: format
From cppreference.net
<
cpp
|
filesystem
|
path
C++
std::filesystem::path
| Member types | ||||||||||||||||||||||||||
| Member constants | ||||||||||||||||||||||||||
|
path::native_format
path::generic_format
path::auto_format
|
||||||||||||||||||||||||||
| Member functions | ||||||||||||||||||||||||||
|
||||||||||||||||||||||||||
| Path decomposition | ||||||||||||||||||||||||||
| Non-member functions | ||||||||||||||||||||||||||
|
||||||||||||||||||||||||||
| Helper classes | ||||||||||||||||||||||||||
|
enum
format
{
native_format,
|
(C++17 起) | |
决定接受字符串的 std::filesystem::path 构造函数如何解释路径名的字符串表示形式。
常量
| 名称 | 说明 |
native_format
|
原生路径名格式 |
generic_format
|
通用路径名格式 |
auto_format
|
实现定义的路径名格式,可能情况下自动检测 |
注释
在POSIX系统上,原生格式与通用格式之间没有区别。
参见
构造
path
对象
(公开成员函数) |