std::experi...ke_preferred(3)
π 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 pagesTodo 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
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms