std::nested...::operator=(3)
π NAME π
Hey bestie! Welcome to the std::nested...::operator=(3) manual page, hanging out under C++ Standard Libary (yes, that's the spelling from the header, we're keeping it π). This whole page is about std::nested_exception::operator=, and the NAME line is literally std::nested_exception::operator= - std::nested_exception::operator= β so yes, we're saying it twice, and yes, it's iconic.
π¦ Synopsis π¦
Okay so here's the signature, no cap:
nested_exception& operator=( const nested_exception& other ) noexcept
(since C++11)
And it's giving defaulted-assignment energy:
= default;
The assignment replaces the stored exception with the one held in other. Periodt.
π Parameters π
otherβ the nested exception to replace the contents with. That's the whole assignment bestie, it's giving "replace the contents, keep the exception" β¨.
π Return value π
*thisβ yup, it hands back*this, as one does π .
Cute little sign-off before we close the group chat: the footer source is http://cppreference.com, the date stamp is 2024.06.10, and the manual tag is std::nested...::operator=(3). Bye bestie, go assign something iconic π«Άπ
π¦ 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