...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::log::make_exception_handler
// In header: <boost/log/utility/exception_handler.hpp> template<typename HandlerT> exception_handler< typename HandlerT::exception_types, HandlerT > make_exception_handler(HandlerT const & handler);
The function creates an exception handler functional object. The handler will call to the user-specified functional object with an exception as its argument.
Note | |
---|---|
This form requires the user-defined functional object to have an |
Parameters: |
|
||
Returns: |
A nullary functional object that should be called from within a |