Cease dependence on SmartPtr

by forward declaring `boost::shared_ptr`
This commit is contained in:
Nikita Kniazev
2020-05-26 02:56:12 +03:00
parent f2e395a7f3
commit 321749796e

View File

@@ -15,12 +15,15 @@
#include <boost/type_index/runtime_cast/detail/runtime_cast_impl.hpp>
#include <boost/type_traits/is_base_and_derived.hpp>
#include <boost/smart_ptr/shared_ptr.hpp>
#ifdef BOOST_HAS_PRAGMA_ONCE
# pragma once
#endif
namespace boost {
template<class T> class shared_ptr;
}
namespace boost { namespace typeindex {
/// \brief Creates a new instance of std::shared_ptr whose stored pointer is obtained from u's