21 #ifndef __stir_SHARED_PTR__ 22 #define __stir_SHARED_PTR__ 25 #if defined(STIR_USE_BOOST_SHARED_PTR) 26 # include "boost/shared_ptr.hpp" 27 # include "boost/make_shared.hpp" 28 # include "boost/pointer_cast.hpp" 32 using boost::dynamic_pointer_cast;
33 using boost::static_pointer_cast;
35 # define MAKE_SHARED boost::make_shared 43 using std::shared_ptr;
44 using std::dynamic_pointer_cast;
45 using std::static_pointer_cast;
47 # define MAKE_SHARED std::make_shared Namespace for the STIR library (and some/most of its applications)
Definition: General_Reconstruction.cxx:6
A smart pointer class: multiple shared_ptr's refer to one object.
Definition: doxygen_doc_for_boost.h:116
basic configuration include file