std::future...::operator=(3)

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

πŸ’– std::future_error::operator= πŸ’–

okay so this is the manual page for std::future_error::operator=, and the manual name is std::future...::operator=(3), from the C++ Standard Libary section of the manual (yes, that's how the header spells it β€” we love a typo moment 🫢). It's giving assignment-operator main character energy, and we're gonna read it together, bestie. No cap. πŸ’…


🌸 NAME 🌸

std::future_error::operator= - std::future_error::operator= β€” yes bestie, it's the same thing on both sides of the dash, and honestly? iconic.

✨ Synopsis ✨

future_error& operator=( const future_error& other ) noexcept;

(since C++11) πŸ’…

Assigns the contents with those of other. If *this and other both have dynamic type std::future_error then std::strcmp(what(), other.what()) == 0 after assignment. Slay, but keep those exact conditions β€” they're the whole vibe check. ✨

πŸŽ€ Parameters πŸŽ€

  • other β€” another future_error object to assign with.

πŸ’œ Return value πŸ’œ

*this

πŸ“ Example πŸ“

This section is incomplete.

Reason: no example.

😭 not me hoping for a little example moment and getting "incomplete" instead. It's fine. We move.

🌈 Category 🌈

Category:

  • Todo no example

mwah πŸ’‹ this page is brought to you by http://cppreference.com, version 2024.06.10, manual page std::future...::operator=(3) β€” bye bestie, go assign responsibly πŸ«ΆπŸ’–

πŸ“¦ where this page comes from