forked from boostorg/smart_ptr
shared_ptr<void const> support added.
[SVN r14570]
This commit is contained in:
@@ -56,6 +56,15 @@ template<> struct shared_ptr_traits<void>
|
|||||||
typedef void reference;
|
typedef void reference;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#if !defined(BOOST_NO_CV_VOID_SPECIALIZATIONS)
|
||||||
|
|
||||||
|
template<> struct shared_ptr_traits<void const>
|
||||||
|
{
|
||||||
|
typedef void reference;
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
} // namespace detail
|
} // namespace detail
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user