forked from boostorg/smart_ptr
shared_ptr<void const> support added.
[SVN r14570]
This commit is contained in:
1 parent
3f0ebd4c71
commit
f586d3f83e
1 file changed
+9
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user