Quick Links:

bal | bbl | bdl | bsl

Classes

Component bslstl_error
[Package bslstl]

Provide standard compliant versions of <system_error> classes. More...

Classes

struct  bsl::hash< error_code >
struct  bsl::hash< error_condition >

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.