std::filesy...s::operator=(3)

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

πŸ’– NAME πŸ’–

Okay bestie, welcome to the C++ Standard Libary manual β€” yep, that's the manual name, we're keeping it exactly πŸ’… β€” and this page is std::filesy...s::operator=(3).

It's all about std::filesystem::file_status::operator= β€” and fr fr, the NAME section says it again: std::filesystem::file_status::operator=. Iconic repetition, no notes. πŸŽ€

✨ Synopsis ✨

Two defaulted special members, both noexcept, both since C++17:

  • (1) β€” file_status& operator=( const file_status& other ) noexcept = default; since C++17
  • (2) β€” file_status& operator=( file_status&& other ) noexcept = default; since C++17

It copy-assigns or move-assigns another file status object. That's the whole vibe. ✨

πŸŽ€ Parameters πŸŽ€

  • other β€” another file_status object to assign. That's it, that's the parameter. 🫢

πŸ¦‹ Return value πŸ¦‹

*this. Slay. πŸ’…

🌈 Example 🌈

This section is incomplete.

Reason: no example.

Not a single example in sight 😭 it's giving "todo" energy.

⭐ Category ⭐

  • Todo no example

Source/version: http://cppreference.com, 2024.06.10 β€” bye bestie, mwah πŸ’‹πŸ¦‹

πŸ“¦ where this page comes from