std::error_...ion::assign(3)
π NAME π
Okay bestie, the NAME here is std::error_condition::assign - std::error_condition::assign β yes, self-titled icon behavior, we love to see it π
. This page lives in the C++ Standard Libary manual, and the header/footer abbreviate it as std::error_...ion::assign(3).
π¦ Synopsis π¦
void assign( int val, const error_category& cat ) noexcept;
β¨ since C++11 β¨ β and noexcept is literally right there in the signature, no cap.
This function assigns contents to an error condition. It sets the error value to val and the error category to cat.
π Parameters π
valβ error valuecatβ error category
β¨ Return value β¨
There is no return value, bestie: (none). Not a crumb. π
xoxo π β sourced from http://cppreference.com, dated 2024.06.10, with the footer keeping that iconic truncated std::error_...ion::assign(3) name. Slay. π«Ά
π¦ 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