29 Input/output library [input.output]

29.5 Iostreams base classes [iostreams.base]

29.5.7 Error reporting [error.reporting]

error_code make_error_code(io_errc e) noexcept;
Returns: error_Β­code(static_Β­cast<int>(e), iostream_Β­category()).
error_condition make_error_condition(io_errc e) noexcept;
Returns: error_Β­condition(static_Β­cast<int>(e), iostream_Β­category()).
const error_category& iostream_category() noexcept;
Returns: A reference to an object of a type derived from class error_Β­category.
The object's default_Β­error_Β­condition and equivalent virtual functions shall behave as specified for the class error_Β­category.
The object's name virtual function shall return a pointer to the string "iostream".