Update for BCB2006

[SVN r32865]
This commit is contained in:
Alisdair Meredith 2006-02-12 20:16:31 +00:00
parent a5439500f5
commit 90c56ba2ce

View File

@ -58,7 +58,7 @@ struct ct_imp<T, isp, true>
template <typename T, bool b1> template <typename T, bool b1>
struct ct_imp<T, true, b1> struct ct_imp<T, true, b1>
{ {
typedef T const param_type; typedef const T param_type;
}; };
} }
@ -92,7 +92,7 @@ struct call_traits<T&>
typedef T& param_type; // hh removed const typedef T& param_type; // hh removed const
}; };
#if BOOST_WORKAROUND( __BORLANDC__, BOOST_TESTED_AT( 0x570 ) ) #if BOOST_WORKAROUND( __BORLANDC__, BOOST_TESTED_AT( 0x581 ) )
// these are illegal specialisations; cv-qualifies applied to // these are illegal specialisations; cv-qualifies applied to
// references have no effect according to [8.3.2p1], // references have no effect according to [8.3.2p1],
// C++ Builder requires them though as it treats cv-qualified // C++ Builder requires them though as it treats cv-qualified
@ -121,6 +121,15 @@ struct call_traits<T&const volatile>
typedef const T& const_reference; typedef const T& const_reference;
typedef T& param_type; // hh removed const typedef T& param_type; // hh removed const
}; };
template <typename T>
struct call_traits< T * >
{
typedef T * value_type;
typedef T * & reference;
typedef T * const & const_reference;
typedef T * const param_type; // hh removed const
};
#endif #endif
#if !defined(BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS) #if !defined(BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS)
template <typename T, std::size_t N> template <typename T, std::size_t N>