shared_ptr<void const> support added.

[SVN r14570]
This commit is contained in:
Peter Dimov
2002-07-23 12:33:11 +00:00
parent 3f0ebd4c71
commit f586d3f83e

View File

@ -56,6 +56,15 @@ template<> struct shared_ptr_traits<void>
typedef void reference;
};
#if !defined(BOOST_NO_CV_VOID_SPECIALIZATIONS)
template<> struct shared_ptr_traits<void const>
{
typedef void reference;
};
#endif
} // namespace detail