C++ åèæå
- C++11
- C++14
- C++17
- C++20
- C++ ç¼è¯å¨æ¯ææ åµè¡¨
- ç¬ç«ä¸å®¿ä¸»å®ç°
- C++ è¯è¨
- C++ å ³é®è¯
- é¢å¤çå¨
- C++ æ ååºå¤´æä»¶
- å ·åè¦æ±
- åè½ç¹æ§æµè¯ (C++20)
- å·¥å ·åº
- ç±»åæ¯æï¼åºæ¬ç±»åãRTTIãç±»åç¹æ§ï¼
- æ¦å¿µåº (C++20)
- é误å¤ç
- std::exception_ptr
- std::error_code
- std::error_condition
- std::hash<std::error_condition>
- std::is_error_condition_enum
- std::error_condition::error_condition
- std::error_condition::operator=
- std::error_condition::assign
- std::error_condition::clear
- std::error_condition::value
- std::error_condition::category
- std::error_condition::message
- std::error_condition::operator bool
- operator==,!=,<,<=>(std::error_condition)
- std::terminate
- std::exception
- std::current_exception
- std::rethrow_exception
- std::make_exception_ptr
- std::unexpected
- std::uncaught_exception, std::uncaught_exceptions
- assert
- errno
- std::nested_exception
- std::throw_with_nested
- std::rethrow_if_nested
- std::terminate_handler
- std::get_terminate
- std::set_terminate
- std::bad_exception
- std::unexpected_handler
- std::get_unexpected
- std::set_unexpected
- é误å·
- std::logic_error
- std::invalid_argument
- std::domain_error
- std::length_error
- std::out_of_range
- std::runtime_error
- std::range_error
- std::overflow_error
- std::underflow_error
- std::tx_exception
- std::error_category
- std::generic_category
- std::system_category
- std::errc
- std::system_error
- 注é
- 卿å å管ç
- æ¥æåæ¶é´å·¥å ·
- å符串åº
- 容å¨åº
- è¿ä»£å¨åº
- èå´åº (C++20)
- ç®æ³åº
- æ°å¼åº
- è¾å ¥/è¾åºåº
- æä»¶ç³»ç»åº
- æ¬å°ååº
- æ£å表达å¼åº
- ååæä½åº
- çº¿ç¨æ¯æåº
- å®éªæ§ C++ ç¹æ§
- æç¨çèµæº
- ç´¢å¼
- std 符å·ç´¢å¼
- åç¨æ¯æ (C++20)
- C++ å ³é®è¯
ä½ç½®ï¼é¦é¡µ > C++ åèæå >é误å¤ç > std::error_condition
std::error_condition
| å®ä¹äºå¤´æä»¶ <system_error>
|
||
| class error_condition; |
(C++11 èµ·) | |
std::error_condition æ¯ç¬ç«äºå¹³å°çé误ç ãç±»ä¼¼äº std::error_code ï¼å®ä¸ºæ´æ°å¼å std::error_category æå¯ä¸æ è¯ï¼ä½ä¸åäº std::error_code ï¼è¯¥å¼ä¸ä¾èµå¹³å°ã
å ¸åçå®ç°ä¿ææ´æ°æ°æ®æåï¼è¯¥å¼ï¼åæåä¸ä¸ª std::error_category çæéã
æå彿°
æé error_condition (å ¬å¼æå彿°) | |
| æ¿æ¢å
容 (å ¬å¼æå彿°) | |
| æ¿æ¢å
容 (å ¬å¼æå彿°) | |
| 设置 error_condition ä¸ºå¼ 0 ï¼äº generic_category ä¸ (å ¬å¼æå彿°) | |
| è·å¾ error_condition çå¼ (å ¬å¼æå彿°) | |
è·å¾æ¤ error_condition ç error_category (å ¬å¼æå彿°) | |
| è·å¾è§£éæ§å符串 (å ¬å¼æå彿°) | |
| æ£æ¥å¼æ¯å¦éé¶ (å ¬å¼æå彿°) |
éæå彿°
| (C++20 ä¸ç§»é¤)(C++20 ä¸ç§»é¤)(C++20) |
æ¯è¾ error_condition å error_code (彿°) |
è¾ å©ç±»
| (C++11) |
é´å«æä¸¾æ¯å¦å¯ä½ä¸º std::error_condition (类模æ¿) |
| std::error_condition çå叿¯æ (类模æ¿ç¹å) |
åé
| (C++11) |
ä¿æä¾èµäºå¹³å°çé误ç (ç±») |
| (C++11) |
é误类å«çåºç±» (ç±») |