std::filesystem::path::format
From cppreference.com
< cpp | filesystem | path
C++
std::filesystem::path
Member types | ||||||||||||||||||||||||||
Member constants | ||||||||||||||||||||||||||
path::native_formatpath::generic_formatpath::auto_format | ||||||||||||||||||||||||||
Member functions | ||||||||||||||||||||||||||
|
||||||||||||||||||||||||||
Path decomposition | ||||||||||||||||||||||||||
Non-member functions | ||||||||||||||||||||||||||
|
||||||||||||||||||||||||||
Helper classes | ||||||||||||||||||||||||||
|
enum format {
native_format, |
(since C++17) | |
Determines how string representations of pathnames are interpreted by the constructors of std::filesystem::path that accept strings.
Constants
Name | Explanation |
native_format
|
Native pathname format |
generic_format
|
Generic pathname format |
auto_format
|
Implementation-defined pathname format, auto-detected where possible |
Notes
On POSIX systems, there is no difference between native and generic format.
See also
constructs a path (public member function) |