mirror of
https://github.com/boostorg/utility.git
synced 2025-07-31 21:34:46 +02:00
added check_delete workaround for Sun CC
[SVN r10213]
This commit is contained in:
@@ -37,7 +37,8 @@ namespace boost
|
|||||||
// verify that types are complete for increased safety
|
// verify that types are complete for increased safety
|
||||||
|
|
||||||
template< typename T >
|
template< typename T >
|
||||||
# if !defined(BOOST_MSVC) || BOOST_MSVC > 1200
|
# if (!defined(BOOST_MSVC) || BOOST_MSVC > 1200) && \
|
||||||
|
(!defined(__SUNPRO_CC) || __SUNPRO_CC > 0x520)
|
||||||
inline void checked_delete(T const volatile * x)
|
inline void checked_delete(T const volatile * x)
|
||||||
# else
|
# else
|
||||||
inline void checked_delete(T /*const volatile*/ * x)
|
inline void checked_delete(T /*const volatile*/ * x)
|
||||||
@@ -51,7 +52,8 @@ namespace boost
|
|||||||
}
|
}
|
||||||
|
|
||||||
template< typename T >
|
template< typename T >
|
||||||
# if !defined(BOOST_MSVC) || BOOST_MSVC > 1200
|
# if (!defined(BOOST_MSVC) || BOOST_MSVC > 1200) && \
|
||||||
|
(!defined(__SUNPRO_CC) || __SUNPRO_CC > 0x520)
|
||||||
inline void checked_array_delete(T const volatile * x)
|
inline void checked_array_delete(T const volatile * x)
|
||||||
# else
|
# else
|
||||||
inline void checked_array_delete(T /*const volatile*/ * x)
|
inline void checked_array_delete(T /*const volatile*/ * x)
|
||||||
|
Reference in New Issue
Block a user