22 #ifndef KJB_L_CPP_SCOPE_GUARD_H
23 #define KJB_L_CPP_SCOPE_GUARD_H
25 #include <boost/function.hpp>
26 #include <boost/shared_ptr.hpp>
27 #include <boost/bind.hpp>
45 static_cast<void*>(0),
46 boost::bind(callback))
boost::shared_ptr< void > on_exit_
Definition: l_scope_guard.h:49
Definition: l_scope_guard.h:41
Scope_guard(const boost::function0< void > &callback)
Definition: l_scope_guard.h:43