24#ifndef quantlib_shared_ptr_hpp
25#define quantlib_shared_ptr_hpp
29#if defined(QL_USE_STD_SHARED_PTR)
32#include <boost/shared_ptr.hpp>
33#include <boost/make_shared.hpp>
34#include <boost/enable_shared_from_this.hpp>
39 #if defined(QL_USE_STD_SHARED_PTR)
40 using std::shared_ptr;
42 using std::make_shared;
43 using std::static_pointer_cast;
44 using std::dynamic_pointer_cast;
45 using std::enable_shared_from_this;
47 using boost::shared_ptr;
48 using boost::weak_ptr;
49 using boost::make_shared;
50 using boost::static_pointer_cast;
51 using boost::dynamic_pointer_cast;
52 using boost::enable_shared_from_this;
Global definitions and compiler switches.