std::error_category::default_error_condition

virtual std::error_condition default_error_condition( int code ) const noexcept;
(C++11 起)

返回给定 error_code 的 error_condition 。

等价于 std::error_condition(code, *this)

参数

code - 要为之返回 error_condition error code

返回值

给定 error_code 的 error_condition 。

版本历史

  • (当前 | 先前 2017年6月6日 (二) 08:11Fruderica讨论 | 贡献. . (508字节) (-661). . (撤销)
  • 当前 | 先前 2013年7月2日 (二) 08:02P12bot讨论 | 贡献 . . (1,169字节) (-26). . (Use {{lc}}. Update links. Various fixes.) (撤销)
  • 当前 | 先前 2012年11月2日 (五) 15:43P12bot讨论 | 贡献 . . (1,195字节) (+449). . (r2.7.3) (机器人添加:de, en, es, fr, it, ja, pt, ru) (撤销)
  • 当前 | 先前 2012年10月26日 (五) 10:35P12讨论 | 贡献 . . (746字节) (0). . (1个修订: Translate from the English version) (撤销)
  • 当前 | 先前 2012年10月26日 (五) 06:00TranslationBot讨论 | 贡献. . (746字节) (-34). . (Translated from the English version using Google Translate) (撤销)
  • 当前 | 先前 2012年10月25日 (四) 13:24P12讨论 | 贡献 . . (780字节) (0). . (1个修订: Translate from the English version) (撤销)
  • 当前 | 先前) 2012年10月25日 (四) 12:00TranslationBot讨论 | 贡献. . (780字节) (+780). . (Translated from the English version using Google Translate)