std::filesy...path::format(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

πŸ’– NAME πŸ’–

okay bestie, this is std::filesystem::path::format β€” the enum from the C++ Standard Libary manual, page tag std::filesy...path::format(3) ✨. It’s literally the little enum that tells std::filesystem::path string constructors how to read pathnames, no cap.

πŸ”₯ Synopsis πŸ”₯

enum format {

    native_format,
    generic_format,  (since C++17)
    auto_format

};

It determines how string representations of pathnames are interpreted by the constructors of std::filesystem::path that accept strings. πŸ’…

🌸 Constants 🌸

  • 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. fr fr, they’re the same there.

πŸ‘€ See also πŸ‘€

  • constructor β€” constructs a path (public member function).

mwah πŸ’‹ this page’s source/version is http://cppreference.com, dated 2024.06.10, and the footer tag is std::filesy...path::format(3). bye bestie 🫢

πŸ“¦ where this page comes from