별의 공부 블로그 🧑🏻‍💻
728x90
728x170

*[header][other] system_error (C++11)


<system_error>

System errors
This header defines a series of standardized elements to report error conditions originating from the operating system or other low-level operations.

Most such errors are identified by a single integer value, which is sometimes system-specific. The class error_codeencapsulates and preserves these system-generated values associating them with an error_category.

These objects can be compared against objects of type error_condition, which is a very similar type meant to represent the same errors, but in a portable way. In this way, library calls to the system may produce error_code values (which preserve system-specific values), and programs can compare them against error_condition objects (which are portable between systems).

error_category objects identify different sets of error codes and also determine the correspondences between error codes and error conditions.

This header defines two categories: generic_category and a system_category. Other libraries may define additional error categories (such as the standard iostream_category, defined in <ios>).

The class system_error is a standard exception type that carries an error_code object.


Classes


Trait classes:


Enum classes:


Functions

Categories:


Constructor helpers:



내용 출처 : http://www.cplusplus.com/reference/system_error/

728x90
그리드형(광고전용)

'Programming > C++' 카테고리의 다른 글

[header][other] type_traits (C++11)  (0) 2017.11.08
[header][other] typeinfo  (0) 2017.11.08
[header][other] typeindex (C++11)  (0) 2017.11.08
[header][other] tuple (C++11)  (0) 2017.11.08
[header][other] string  (0) 2017.11.08
[header][other] stdexcept  (0) 2017.11.08
[header][other] regex (C++11)  (0) 2017.11.08
[header][other] ratio (C++11)  (0) 2017.11.08
⚠️AdBlock이 감지되었습니다. 원할한 페이지 표시를 위해 AdBlock을 꺼주세요.⚠️
starrykss
starrykss
별의 공부 블로그 🧑🏻‍💻


📖 Contents 📖