14 #include <boost/shared_ptr.hpp>
15 #include <boost/weak_ptr.hpp>
35 template <
typename P1>
38 boost::shared_ptr<T> obj =
myObj.lock();
46 template <
typename P1,
typename P2>
49 boost::shared_ptr<T> obj =
myObj.lock();
57 template <
typename P1,
typename P2,
typename P3>
58 void operator()(
const P1& p1,
const P2& p2,
const P3& p3)
const
60 boost::shared_ptr<T> obj =
myObj.lock();