...世界上最受推崇和设计精良的 C++ 库项目之一。 — Herb Sutter 和 Andrei Alexandrescu,《C++ 编码规范
...世界上最受推崇和设计精良的 C++ 库项目之一。
一个接受处理程序必须满足 处理程序的要求。接受处理程序类的某个值 h 应该在表达式 h(ec) 中正确工作,其中 ec 是类型为 const error_code 的左值。
h
h(ec)
ec
const error_code