std::error_code::assign(3)
β¨ NAME β¨
std::error_code::assign β std::error_code::assign, bestie π
no cap, that's the whole name. This page is from the C++ Standard Libary and it's filed under std::error_code::assign(3) π¦
πΈ Synopsis πΈ
void assign( int val, const error_category& cat ) noexcept; (since C++11)
Replaces the contents with error code value val and corresponding category cat β¨
π Parameters π
valβ platform-dependent error code value to assign πcatβ error category corresponding tovalπ«Ά
π« Return value π«
(none) β literally nothing comes back, and that's iconic π
π See also π
operator=β assigns another error code (public member function) π₯
xoxo, your fave little manual page π brought to you by http://cppreference.com, dated 2024.06.10, and filed under std::error_code::assign(3) πβ¨
π¦ 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