std::experi...stem::path)(3)
okay so this page is std::experi...stem::path)(3), and it comes from the C++ Standard Libary manual (yes, thatβs the spelling on the page, and weβre keeping it π
). Itβs a tiny little page about swapping two paths, and honestly it ate.
π NAME π
std::experimental::filesystem::swap(std::experimental::filesystem::path) β std::experimental::filesystem::swap(std::experimental::filesystem::path)
not me repeating the exact same name twice, but thatβs literally what the NAME section says, so weβre keeping the whole thing, no cap.
β¨ Synopsis β¨
void swap( path& lhs, path& rhs ); (filesystem TS)
This exchanges the state of lhs with that of rhs. Effectively calls lhs.swap(rhs). Thatβs it, thatβs the function, and itβs iconic for being so simple. π«
π Parameters π
lhs,rhsβ paths whose states to swap
Two paths, one job: swap their states. slay. π«Ά
πΈ Return value πΈ
(none)
Itβs giving absolutely nothing back, bestie β the original literally says (none). Zero return value, zero drama. π
π¦ Exceptions π¦
noexcept specification: noexcept
So the exception situation is noexcept energy. No cap. β¨
π See also π
swapβ swaps two paths (public member function)
iykyk, itβs the member-function bestie of this free-function moment. π
π Categories π
Noindexed pagesunconditionally noexcept
π Hidden categories π
Pages with unreviewed unconditional noexcept templatePages with unreviewed noexcept template
mwah π cute sign-off time: source is http://cppreference.com, version/date is 2024.06.10, and the page is std::experi...stem::path)(3) β bye bestie, go swap those paths! ππ¦
π¦ 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