Provide standard compliant versions of <system_error> classes.
More...
Detailed Description
- Outline
-
-
- Purpose:
- Provide standard compliant versions of <system_error> classes.
-
- Classes:
bsl::error_category | a standard compliant version of error_category |
bsl::error_code | a standard complaint version of error_code |
bsl::error_condition | a standard complaint version of error_condition |
- Canonical Header:
- bsl_system_error.h
-
- Description:
- This component defines classes
bsl::error_category
, bsl::error_code
, and bsl::error_condition
, global functions bsl::generic_category
, bsl::system_category
, bsl::make_error_code
, and bsl::make_error_condition
, and a variety of operators that provide implementations of the C++11 system_error
facility. In C++11 mode, the vendor-supplied <system_error>
implementation is used instead, and the corresponding names from std
are imported into bsl
.
-
- Usage:
- In this section we show intended use of this component.
-
- Example 1: TBD:
- We are in the process of determining best practices for using error codes in our programming environment.