std::generic_category

std::generic_category

Defined in header <system_error>
const std::error_category& generic_category();
(since C++11)

Obtains a reference to the static error category object for generic errors. The object is required to override the virtual function error_category::name() to return a pointer to the string "generic". It is used to identify error conditions that correspond to the POSIX errno codes.

Parameters

(none).登录查看完整内容