Added Borland specific fixes for references to arrays.

[SVN r16088]
This commit is contained in:
John Maddock
2002-11-04 12:24:50 +00:00
parent ee2b66b31f
commit 4b2788fdcb

View File

@ -26,6 +26,11 @@ namespace boost {
BOOST_TT_AUX_BOOL_TRAIT_DEF2(is_same,T,U,false)
BOOST_TT_AUX_BOOL_TRAIT_PARTIAL_SPEC2_1(typename T,is_same,T,T,true)
#ifdef __BORLANDC__
// without this, Borland's compiler gives the wrong answer for
// references to arrays:
BOOST_TT_AUX_BOOL_TRAIT_PARTIAL_SPEC2_1(typename T,is_same,T&,T&,true)
#endif
#else // BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION