std::experi...::path::swap(3)

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

std::experi...::path::swap(3) πŸ’…

okay so this page is from the C++ Standard Libary manual, and it's all about std::experimental::filesystem::path::swap β€” the path swap girly from the filesystem TS. No cap, it's a tiny page, but we're covering every crumb. πŸ“


✨ NAME ✨

std::experimental::filesystem::path::swap - std::experimental::filesystem::path::swap

Yeah bestie, the NAME section is literally the same full name twice with a dash in the middle. Iconic. πŸ’…

πŸ“œ Synopsis

void swap( path& other ); (1) (filesystem TS)

Swaps the contents of *this and other. That's the whole move, fr fr. 🫢

πŸŽ€ Parameters

  • other β€” another path to exchange the contents with. Like, you bring your path, I bring mine, we trade. πŸ¦‹

πŸŒ€ Return value

(none) β€” literally nothing comes back. It's giving "no return value, no problem." πŸ™ˆ

😱 Exceptions

noexcept specification: noexcept. That's the whole note. And yes, the categories later literally include unconditionally noexcept, so it's giving very safe swap energy. πŸ”₯

⚑ Complexity

Constant. No cap, that's all the page says β€” constant complexity, no scaling drama. ⭐

πŸ‘€ See also

This section is incomplete. That's what the page says, bestie β€” not me being lazy, the manual itself is like "incomplete" and leaves it there. 😭

πŸ—‚οΈ Categories

  • Noindexed pages
  • unconditionally noexcept
  • Todo without reason

πŸ™ˆ Hidden categories

  • Pages with unreviewed unconditional noexcept template
  • Pages with unreviewed noexcept template

xoxo, source/version + date tea: http://cppreference.com Β· 2024.06.10 πŸ«ΆπŸ’–

πŸ“¦ where this page comes from