Namespaces
Variants
Actions

std::filesystem::path::format

From cppreference.com
< cpp‎ | filesystem‎ | path
 
C++
 
Filesystem library
Classes
Functions
File types
 
std::filesystem::path
enum format {

    native_format,
    generic_format,
    auto_format

};
(since C++17)

Determines how string representations of pathnames are interpreted by the constructors of std::filesystem::path that accept strings.

[edit] Constants

Name Explanation
native_format Native pathname format
generic_format Generic pathname format
auto_format Implementation-defined pathname format, auto-detected where possible

[edit] Notes

On POSIX systems, there is no difference between native and generic format.

[edit] See also

constructs a path
(public member function) [edit]

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant