libstdc++
|
Modules | |
Exceptions | |
Classes | |
class | std::error_category |
class | std::error_code |
class | std::error_condition |
struct | std::is_error_code_enum< _Tp > |
struct | std::is_error_condition_enum< _Tp > |
Functions | |
const error_category & | std::generic_category () noexcept |
error_code | make_error_code (errc __e) noexcept |
error_condition | make_error_condition (errc __e) noexcept |
strong_ordering | operator (const error_code &__lhs, const error_code &__rhs) noexcept |
strong_ordering | operator (const error_condition &__lhs, const error_condition &__rhs) noexcept |
template<typename _CharT , typename _Traits > | |
basic_ostream< _CharT, _Traits > & | operator<< (basic_ostream< _CharT, _Traits > &__os, const error_code &__e) |
bool | operator== (const error_code &__lhs, const error_code &__rhs) noexcept |
bool | operator== (const error_code &__lhs, const error_condition &__rhs) noexcept |
bool | operator== (const error_condition &__lhs, const error_condition &__rhs) noexcept |
const error_category & | std::system_category () noexcept |
Variables | |
template<typename _Tp > | |
constexpr bool | std::is_error_code_enum_v |
template<typename _Tp > | |
constexpr bool | std::is_error_condition_enum_v |
Components for error handling, reporting, and diagnostic operations.
|
noexcept |
Error category for errno
error codes.
|
related |
Create an error_code
representing a standard errc
condition.
The std::errc
constants correspond to errno
macros and so use the generic category.
Definition at line 302 of file system_error.
|
related |
Create an error_condition
representing a standard errc
condition.
The std::errc
constants correspond to errno
macros and so use the generic category.
Definition at line 435 of file system_error.
|
related |
Ordered comparison for std::error_code.
This defines a total order by comparing the categories, and then if they are equal comparing the values.
Definition at line 315 of file system_error.
|
related |
Ordered comparison for std::error_condition.
This defines a total order by comparing the categories, and then if they are equal comparing the values.
Definition at line 497 of file system_error.
|
related |
|
related |
Equality comparison for std::error_code.
Returns true only if they have the same category and the same value.
Definition at line 449 of file system_error.
|
related |
Equality comparison for std::error_code and std::error_condition.
Uses each category's equivalent
member function to check whether the values correspond to an equivalent error in that category.
Definition at line 465 of file system_error.
|
related |
Equality comparison for std::error_condition.
Returns true only if they have the same category and the same value.
Definition at line 480 of file system_error.
|
noexcept |
Error category for other error codes defined by the OS.
Definition at line 74 of file system_error.
Definition at line 77 of file system_error.