“……世界上最受推崇且设计最精湛的 C++ 库项目之一。” — Herb Sutter 和 Andrei Alexandrescu, C++ 编码标准
一个信号处理程序必须满足 处理程序 的要求。 信号处理程序类的值 h 应该在表达式 h(ec, n) 中正常工作,其中 ec 是类型为 const error_code 的左值,而 n 是类型为 const int 的左值。
h
h(ec, n)
ec
const error_code
n
const int