forked from boostorg/smart_ptr
Borland fixes.
[SVN r81437]
This commit is contained in:
@@ -109,12 +109,16 @@ template< class T > struct sp_if_not_array< T[] >
|
|||||||
{
|
{
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#if !defined( __BORLANDC__ ) || !BOOST_WORKAROUND( __BORLANDC__, < 0x600 )
|
||||||
|
|
||||||
template< class T, std::size_t N > struct sp_if_not_array< T[N] >
|
template< class T, std::size_t N > struct sp_if_not_array< T[N] >
|
||||||
{
|
{
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
} // namespace detail
|
} // namespace detail
|
||||||
|
|
||||||
#if !defined( BOOST_NO_FUNCTION_TEMPLATE_ORDERING )
|
#if !defined( BOOST_NO_FUNCTION_TEMPLATE_ORDERING )
|
||||||
|
@@ -81,11 +81,15 @@ template< class T > struct sp_element< T[] >
|
|||||||
typedef T type;
|
typedef T type;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#if !defined( __BORLANDC__ ) || !BOOST_WORKAROUND( __BORLANDC__, < 0x600 )
|
||||||
|
|
||||||
template< class T, std::size_t N > struct sp_element< T[N] >
|
template< class T, std::size_t N > struct sp_element< T[N] >
|
||||||
{
|
{
|
||||||
typedef T type;
|
typedef T type;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // !defined( BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION )
|
#endif // !defined( BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION )
|
||||||
|
|
||||||
// sp_dereference, return type of operator*
|
// sp_dereference, return type of operator*
|
||||||
@@ -126,11 +130,15 @@ template< class T > struct sp_dereference< T[] >
|
|||||||
typedef void type;
|
typedef void type;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#if !defined( __BORLANDC__ ) || !BOOST_WORKAROUND( __BORLANDC__, < 0x600 )
|
||||||
|
|
||||||
template< class T, std::size_t N > struct sp_dereference< T[N] >
|
template< class T, std::size_t N > struct sp_dereference< T[N] >
|
||||||
{
|
{
|
||||||
typedef void type;
|
typedef void type;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // !defined( BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION )
|
#endif // !defined( BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION )
|
||||||
|
|
||||||
// sp_member_access, return type of operator->
|
// sp_member_access, return type of operator->
|
||||||
@@ -147,11 +155,15 @@ template< class T > struct sp_member_access< T[] >
|
|||||||
typedef void type;
|
typedef void type;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#if !defined( __BORLANDC__ ) || !BOOST_WORKAROUND( __BORLANDC__, < 0x600 )
|
||||||
|
|
||||||
template< class T, std::size_t N > struct sp_member_access< T[N] >
|
template< class T, std::size_t N > struct sp_member_access< T[N] >
|
||||||
{
|
{
|
||||||
typedef void type;
|
typedef void type;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // !defined( BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION )
|
#endif // !defined( BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION )
|
||||||
|
|
||||||
// sp_array_access, return type of operator[]
|
// sp_array_access, return type of operator[]
|
||||||
@@ -168,11 +180,15 @@ template< class T > struct sp_array_access< T[] >
|
|||||||
typedef T & type;
|
typedef T & type;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#if !defined( __BORLANDC__ ) || !BOOST_WORKAROUND( __BORLANDC__, < 0x600 )
|
||||||
|
|
||||||
template< class T, std::size_t N > struct sp_array_access< T[N] >
|
template< class T, std::size_t N > struct sp_array_access< T[N] >
|
||||||
{
|
{
|
||||||
typedef T & type;
|
typedef T & type;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // !defined( BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION )
|
#endif // !defined( BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION )
|
||||||
|
|
||||||
// sp_extent, for operator[] index check
|
// sp_extent, for operator[] index check
|
||||||
|
Reference in New Issue
Block a user