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>
41 #if defined(QL_USE_STD_SHARED_PTR)
42 using std::shared_ptr;
44 using std::make_shared;
45 using std::static_pointer_cast;
46 using std::dynamic_pointer_cast;
47 using std::enable_shared_from_this;
49 using boost::shared_ptr;
50 using boost::weak_ptr;
51 using boost::make_shared;
52 using boost::static_pointer_cast;
53 using boost::dynamic_pointer_cast;
54 using boost::enable_shared_from_this;
Global definitions and compiler switches.