mirror of
https://github.com/boostorg/utility.git
synced 2025-05-09 15:04:00 +00:00
Dave says qualifiers weren't really needed
[SVN r10222]
This commit is contained in:
parent
9578f24be9
commit
1bb1898ab9
@ -37,12 +37,7 @@ 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) && \
|
inline void checked_delete(T * x)
|
||||||
(!defined(__SUNPRO_CC) || __SUNPRO_CC > 0x520)
|
|
||||||
inline void checked_delete(T const volatile * x)
|
|
||||||
# else
|
|
||||||
inline void checked_delete(T /*const volatile*/ * x)
|
|
||||||
# endif
|
|
||||||
{
|
{
|
||||||
# if !((defined(__BORLANDC__) && __BORLANDC__ <= 0x0551) || (defined(__ICL) && __ICL <= 500))
|
# if !((defined(__BORLANDC__) && __BORLANDC__ <= 0x0551) || (defined(__ICL) && __ICL <= 500))
|
||||||
BOOST_STATIC_ASSERT( sizeof(T) ); // assert type complete at point
|
BOOST_STATIC_ASSERT( sizeof(T) ); // assert type complete at point
|
||||||
@ -54,12 +49,7 @@ namespace boost
|
|||||||
}
|
}
|
||||||
|
|
||||||
template< typename T >
|
template< typename T >
|
||||||
# if (!defined(BOOST_MSVC) || BOOST_MSVC > 1200) && \
|
inline void checked_array_delete(T * x)
|
||||||
(!defined(__SUNPRO_CC) || __SUNPRO_CC > 0x520)
|
|
||||||
inline void checked_array_delete(T const volatile * x)
|
|
||||||
# else
|
|
||||||
inline void checked_array_delete(T /*const volatile*/ * x)
|
|
||||||
# endif
|
|
||||||
{
|
{
|
||||||
# if !((defined(__BORLANDC__) && __BORLANDC__ <= 0x0551) || (defined(__ICL) && __ICL <= 500))
|
# if !((defined(__BORLANDC__) && __BORLANDC__ <= 0x0551) || (defined(__ICL) && __ICL <= 500))
|
||||||
BOOST_STATIC_ASSERT( sizeof(T) ); // assert type complete at point
|
BOOST_STATIC_ASSERT( sizeof(T) ); // assert type complete at point
|
||||||
|
Loading…
x
Reference in New Issue
Block a user