21 #ifndef _libint2_src_bin_libint_smartptr_h_ 22 #define _libint2_src_bin_libint_smartptr_h_ 24 #include <libint2/config.h> 26 #if HAVE_SHARED_PTR_IN_BOOST 27 #include <boost/shared_ptr.hpp> 28 #include <boost/enable_shared_from_this.hpp> 29 using namespace boost;
33 #define SafePtr boost::shared_ptr 34 #define EnableSafePtrFromThis boost::enable_shared_from_this 35 #define SafePtr_from_this shared_from_this 40 #define SafePtr std::shared_ptr 41 #define EnableSafePtrFromThis std::enable_shared_from_this 42 #define SafePtr_from_this shared_from_this 43 using std::dynamic_pointer_cast;
51 enum { result =
false };
56 enum { result =
true };
60 enum { result =
true };
64 enum { result =
true };
68 enum { result =
true };
Defaults definitions for various parameters assumed by Libint.
Definition: algebra.cc:24
Can be used to determine whether a type is a SafePtr.
Definition: smart_ptr.h:50