mirror of
https://github.com/boostorg/detail.git
synced 2025-08-01 05:14:28 +02:00
merged from trunk
[SVN r49439]
This commit is contained in:
@@ -181,7 +181,13 @@ void construct(void* p,const Type& t)
|
|||||||
template<typename Type>
|
template<typename Type>
|
||||||
void destroy(const Type* p)
|
void destroy(const Type* p)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
#if BOOST_WORKAROUND(__SUNPRO_CC,BOOST_TESTED_AT(0x590))
|
||||||
|
const_cast<Type*>(p)->~Type();
|
||||||
|
#else
|
||||||
p->~Type();
|
p->~Type();
|
||||||
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} /* namespace boost::detail::allocator */
|
} /* namespace boost::detail::allocator */
|
||||||
|
@@ -88,6 +88,7 @@
|
|||||||
#if defined(BOOST_NO_STDC_NAMESPACE)
|
#if defined(BOOST_NO_STDC_NAMESPACE)
|
||||||
using ::codecvt;
|
using ::codecvt;
|
||||||
using ::mbstate_t;
|
using ::mbstate_t;
|
||||||
|
using ::size_t
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(__MSL_CPP__) && !defined(__LIBCOMO__)
|
#if !defined(__MSL_CPP__) && !defined(__LIBCOMO__)
|
||||||
|
Reference in New Issue
Block a user