std::experi...ke_preferred(3)

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

πŸ’– std::experi...ke_preferred(3) πŸ’–

okay so bestie, welcome to the C++ Standard Libary manual β€” yes, that’s the manual name, typo and all β€” for std::experi...ke_preferred(3) 🫢. This page is about std::experimental::filesystem::path::make_preferred, and we’re gonna make it make sense. ✨

🌸 NAME 🌸

std::experimental::filesystem::path::make_preferred β€” and then, because the original literally repeats it: std::experimental::filesystem::path::make_preferred. That’s the whole name, bestie, we love a self-referential moment πŸ’….

✨ Synopsis ✨

path& make_preferred() (1) (filesystem TS)

okay so what does it do? Converts all directory separators in path to the preferred directory separator. That’s the vibe. No cap.

For example, on systems, where \ is the preferred separator, the path foo/bar will be converted to foo\bar β€” iconic separator glow-up ✨.

πŸŽ€ Parameters πŸŽ€

  • (none) β€” like, zero parameters, bestie. Nothing to pass in. πŸ’…

πŸ’– Return value πŸ’–

  • *this β€” it returns *this, periodt. πŸ‘‘

πŸ’€ Exceptions πŸ’€

May throw implementation-defined exceptions. That means your implementation gets to decide the details β€” so don’t act surprised if it has opinions 😭.

πŸ”Ž See also πŸ”Ž

This section is incomplete β€” yes, bestie, they left us on read 😭. No extra refs listed here, just the raw incompleteness.

🏷️ Categories 🏷️

  • Noindexed pages
  • Todo without reason

mwah πŸ’‹ β€” source: http://cppreference.com, version/date: 2024.06.10, and the title again: std::experi...ke_preferred(3). byeee, go make those separators preferred πŸ¦‹πŸ’–

πŸ“¦ where this page comes from