13 #include <boost/scoped_ptr.hpp> 14 #include <boost/shared_ptr.hpp> 25 #define BSHP boost::shared_ptr 28 #define BSCP boost::scoped_ptr 30 #define BDPC boost::dynamic_pointer_cast 31 #define BSPC boost::static_pointer_cast 33 #define BWP boost::weak_ptr 34 // If we want to add stuff for scoped pointers or weak pointers or other 46 out.reset(
new T(*a_in.get()));
52 #define FOREACH BOOST_FOREACH BSHP< T > CopyBSHP(const BSHP< T > &a_in)
utility function