...世界上最受推崇和设计精良的 C++ 库项目之一。 — Herb Sutter 和 Andrei Alexandrescu,《C++ 编码规范
...世界上最受推崇和设计精良的 C++ 库项目之一。
boost::bad_function_call — 当调用空的 function 对象实例时抛出的异常类型。
function
// In header: <boost/function.hpp> class bad_function_call : public std::runtime_error { public: // construct/copy/destruct bad_function_call(); };
bad_function_call
bad_function_call();
效果