std::make_e...uture_errc)(3)
π NAME π
okay so this page is std::make_e...uture_errc)(3) from the C++ Standard Libary manual β and yes bestie, that's βLibaryβ with the typo, we keep it, no cap. The NAME here is std::make_error_code(std::future_errc) β and the original NAME line literally repeats std::make_error_code(std::future_errc) twice. iconic. π
β¨ Synopsis β¨
Defined in header <future>:
std::error_code make_error_code( std::future_errc e ); (since C++11)
It constructs an std::error_code object from a value of type std::future_errc as if by:
std::error_code(static_cast<int>(e), std::future_category()).
This function is called by the constructor of std::error_code when given an std::future_errc argument. π«Ά
π Parameters π
eβ error code number
π¦ Return value π¦
A value of type std::error_code that holds the error code number from e associated with the error category "future". slay. β¨
πΈ Example πΈ
This section is incomplete Reason: no example
π See also π
error_codeβ holds a platform-dependent error code(C++11)(class)future_errcβ identifies the future error codes(C++11)(enum)make_error_code(std::errc)β creates error code value forerrcenum(C++11)(function)make_error_code(std::io_errc)β constructs an iostream error code(C++11)(function)
π Category π
- Todo no example
mwah π this was the std::make_e...uture_errc)(3) page, source http://cppreference.com, version/date 2024.06.10. go slay those error codes, bestie ππΏ
π¦ 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