diff options
Diffstat (limited to 'boost/exception/exception.hpp')
-rw-r--r-- | boost/exception/exception.hpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/boost/exception/exception.hpp b/boost/exception/exception.hpp index 213af3dbb8..c0fdaf9e55 100644 --- a/boost/exception/exception.hpp +++ b/boost/exception/exception.hpp @@ -12,6 +12,14 @@ #pragma warning(push,1) #endif +#ifdef BOOST_EXCEPTION_MINI_BOOST +#include <memory> +namespace boost { namespace exception_detail { using std::shared_ptr; } } +#else +namespace boost { template <class T> class shared_ptr; }; +namespace boost { namespace exception_detail { using boost::shared_ptr; } } +#endif + namespace boost { @@ -144,9 +152,6 @@ boost # endif #endif - template <class T> - class shared_ptr; - namespace exception_detail { |