|
libstdc++
|
Topics | |
| Exceptions | |
Classes | |
| class | std::_V2::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 |
| 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_code &__rhs) noexcept |
| bool | operator!= (const error_condition &__lhs, const error_condition &__rhs) noexcept |
| bool | operator< (const error_code &__lhs, const error_code &__rhs) noexcept |
| bool | 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_code &__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.
References generic_category().
Referenced by generic_category().
|
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 299 of file system_error.
|
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 431 of file system_error.
References error_condition().
|
Definition at line 521 of file system_error.
|
Definition at line 526 of file system_error.
|
Definition at line 531 of file system_error.
|
Definition at line 536 of file system_error.
|
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 320 of file system_error.
References operator<().
Referenced by operator<().
|
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 502 of file system_error.
References error_condition(), and operator<().
Referenced by operator<().
|
|
Equality comparison for std::error_code.
Returns true only if they have the same category and the same value.
Definition at line 445 of file system_error.
|
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 461 of file system_error.
References error_condition().
|
Definition at line 513 of file system_error.
|
Equality comparison for std::error_condition.
Returns true only if they have the same category and the same value.
Definition at line 476 of file system_error.
References error_condition().
|
noexcept |
Error category for other error codes defined by the OS.
References make_error_code(), make_error_condition(), and system_category().
Referenced by system_category().
|
inlineconstexpr |
Definition at line 72 of file system_error.
|
inlineconstexpr |
Definition at line 75 of file system_error.