std::iostream_category
std::iostream_category
Defined in header <ios> | ||
---|---|---|
const std::error_category& iostream_category(); | (since C++11) |
Obtains a reference to the static error category object for iostream errors. The object is required to override the virtual function error_category::name()
to return a pointer to the string "iostream"
. It is used to identify error codes provided in the exceptions of type std::ios_base::failure
.
Parameters
(none