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 304 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 437 of file system_error.
◆ operator<<()
template<typename _CharT, typename _Traits>
Write a std::error_code to an ostream.
- Since
- C++11
Definition at line 317 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 317 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 499 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 451 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 467 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 482 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 |