00001 #ifndef GRASP_PLANNING_GRASPIT_SHAREDPTR_H 00002 #define GRASP_PLANNING_GRASPIT_SHAREDPTR_H 00003 00025 #define USE_BOOST_SHARED_PTR 00026 00027 #ifdef USE_BOOST_SHARED_PTR 00028 00029 #include <boost/shared_ptr.hpp> 00030 #define SHARED_PTR boost::shared_ptr 00031 00032 #else // use C++11 std 00033 00034 #include <memory> 00035 #define SHARED_PTR std::shared_ptr 00036 00037 #endif 00038 00039 00040 #endif // GRASP_PLANNING_GRASPIT_SHAREDPTR_H