Components for error handling, reporting, and diagnostic operations.
◆ generic_category()
Error category for errno
error codes.
◆ make_error_code()
Create an error_code
representing a standard errc
condition.
The std::errc
constants correspond to errno
macros and so use the generic category.
- Since
- C++11
Definition at line 302 of file system_error.
◆ make_error_condition()
Create an error_condition
representing a standard errc
condition.
The std::errc
constants correspond to errno
macros and so use the generic category.
- Since
- C++11
Definition at line 435 of file system_error.
◆ operator() [1/2]
Ordered comparison for std::error_code.
This defines a total order by comparing the categories, and then if they are equal comparing the values.
- Since
- C++11
Definition at line 315 of file system_error.
◆ operator() [2/2]
Ordered comparison for std::error_condition.
This defines a total order by comparing the categories, and then if they are equal comparing the values.
- Since
- C++11
Definition at line 497 of file system_error.
◆ operator<<()
template<typename _CharT , typename _Traits >
Write a std::error_code to an ostream.
- Since
- C++11
Definition at line 315 of file system_error.
◆ operator==() [1/3]
Equality comparison for std::error_code.
Returns true only if they have the same category and the same value.
- Since
- C++11
Definition at line 449 of file system_error.
◆ operator==() [2/3]
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.
- Since
- C++11
Definition at line 465 of file system_error.
◆ operator==() [3/3]
Equality comparison for std::error_condition.
Returns true only if they have the same category and the same value.
- Since
- C++11
Definition at line 480 of file system_error.
◆ system_category()
Error category for other error codes defined by the OS.
◆ is_error_code_enum_v
template<typename _Tp >
bool std::is_error_code_enum_v |
|
inlineconstexpr |
◆ is_error_condition_enum_v
template<typename _Tp >
bool std::is_error_condition_enum_v |
|
inlineconstexpr |