Borland C++ Builder 6 fixes

[SVN r13659]
This commit is contained in:
John Maddock 2002-05-04 10:55:15 +00:00
parent a37518cb4a
commit 7126ea2685
2 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ struct call_traits<T&>
typedef T& param_type; // hh removed const
};
#if defined(__BORLANDC__) && (__BORLANDC__ <= 0x551)
#if defined(__BORLANDC__) && (__BORLANDC__ <= 0x560)
// these are illegal specialisations; cv-qualifies applied to
// references have no effect according to [8.3.2p1],
// C++ Builder requires them though as it treats cv-qualified

View File

@ -52,7 +52,7 @@ private:
T* t_;
};
# if defined(__BORLANDC__) && (__BORLANDC__ <= 0x551)
# if defined(__BORLANDC__) && (__BORLANDC__ <= 0x560)
# define BOOST_REF_CONST
# else
# define BOOST_REF_CONST const