boost::log::empty_deleter — A function object that does nothing and can be used as an empty deleter for shared_ptr
.
// In header: <boost/log/utility/empty_deleter.hpp> struct empty_deleter { // types typedef void result_type; // Function object result type. // public member functions void operator()(const volatile void *) const; };