From f586d3f83ed0a6824f8518f4a0a3679a2066f200 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Tue, 23 Jul 2002 12:33:11 +0000 Subject: [PATCH] shared_ptr support added. [SVN r14570] --- include/boost/shared_ptr.hpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/boost/shared_ptr.hpp b/include/boost/shared_ptr.hpp index bea9e11..ffb8208 100644 --- a/include/boost/shared_ptr.hpp +++ b/include/boost/shared_ptr.hpp @@ -56,6 +56,15 @@ template<> struct shared_ptr_traits typedef void reference; }; +#if !defined(BOOST_NO_CV_VOID_SPECIALIZATIONS) + +template<> struct shared_ptr_traits +{ + typedef void reference; +}; + +#endif + } // namespace detail