More aCC portability fixes.

[SVN r23145]
This commit is contained in:
John Maddock
2004-06-22 12:34:04 +00:00
parent ca44c8182c
commit 6c02074270
2 changed files with 3 additions and 2 deletions

View File

@ -252,7 +252,7 @@ public:
std::string What(int i = 0)const; std::string What(int i = 0)const;
std::string operator[](int i)const { return What(i); } std::string operator[](int i)const { return What(i); }
static const unsigned int npos; static const std::size_t npos;
friend struct re_detail::pred1; friend struct re_detail::pred1;
friend struct re_detail::pred2; friend struct re_detail::pred2;

View File

@ -23,7 +23,8 @@
#include <boost/detail/workaround.hpp> #include <boost/detail/workaround.hpp>
#if (BOOST_WORKAROUND(__BORLANDC__, >= 0x560) && BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x570)))\ #if (BOOST_WORKAROUND(__BORLANDC__, >= 0x560) && BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x570)))\
|| BOOST_WORKAROUND(BOOST_MSVC, < 1300) \ || BOOST_WORKAROUND(BOOST_MSVC, < 1300) \
|| BOOST_WORKAROUND(__MWERKS__, BOOST_TESTED_AT(0x3003)) || BOOST_WORKAROUND(__MWERKS__, BOOST_TESTED_AT(0x3003)) \
|| BOOST_WORKAROUND(__HP_aCC, BOOST_TESTED_AT(55500))
// //
// Borland C++ Builder 6, and Visual C++ 6, // Borland C++ Builder 6, and Visual C++ 6,
// can't cope with the array template constructor // can't cope with the array template constructor