Workaround for VC10 unique_ptr operator->

This commit is contained in:
Glen Fernandes committed 2019-08-30 12:03:36 -04:00
1 parent 6a5f67b3a2
commit 034f94617d
13 files changed
+17 -24

No files matched your search

@@ -93,6 +93,11 @@ public:
sp_alloc_ptr() BOOST_SP_NOEXCEPT
: p_() { }
#if defined(BOOST_MSVC) && BOOST_MSVC == 1600
sp_alloc_ptr(T* p) BOOST_SP_NOEXCEPT
: p_(const_cast<typename boost::remove_cv<T>::type*>(p)) { }
#endif
sp_alloc_ptr(std::size_t, P p) BOOST_SP_NOEXCEPT
: p_(p) { }