Remove BOOST_BORLANDC workarounds

This commit is contained in:
Peter Dimov committed 2024-09-24 18:08:14 +03:00
1 parent d908c4d288
commit d66b173710
6 files changed
-66

No files matched your search

-16
View File
@@ -80,15 +80,11 @@ template< class T > struct sp_element< T[] >
typedef T type;
};
#if !defined( BOOST_BORLANDC ) || !BOOST_WORKAROUND( BOOST_BORLANDC, < 0x600 )
template< class T, std::size_t N > struct sp_element< T[N] >
{
typedef T type;
};
#endif
#endif // !defined( BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION )
// sp_dereference, return type of operator*
@@ -129,15 +125,11 @@ template< class T > struct sp_dereference< T[] >
typedef void type;
};
#if !defined( BOOST_BORLANDC ) || !BOOST_WORKAROUND( BOOST_BORLANDC, < 0x600 )
template< class T, std::size_t N > struct sp_dereference< T[N] >
{
typedef void type;
};
#endif
#endif // !defined( BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION )
// sp_member_access, return type of operator->
@@ -154,15 +146,11 @@ template< class T > struct sp_member_access< T[] >
typedef void type;
};
#if !defined( BOOST_BORLANDC ) || !BOOST_WORKAROUND( BOOST_BORLANDC, < 0x600 )
template< class T, std::size_t N > struct sp_member_access< T[N] >
{
typedef void type;
};
#endif
#endif // !defined( BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION )
// sp_array_access, return type of operator[]
@@ -179,15 +167,11 @@ template< class T > struct sp_array_access< T[] >
typedef T & type;
};
#if !defined( BOOST_BORLANDC ) || !BOOST_WORKAROUND( BOOST_BORLANDC, < 0x600 )
template< class T, std::size_t N > struct sp_array_access< T[N] >
{
typedef T & type;
};
#endif
#endif // !defined( BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION )
// sp_extent, for operator[] index check