Added some missing std:: prefixes and fixed Metroworks 7 support

[SVN r10464]
This commit is contained in:
John Maddock
2001-06-28 11:45:22 +00:00
parent 3045723a54
commit 01575dccbd
2 changed files with 7 additions and 11 deletions

View File

@ -76,7 +76,7 @@ full list of macros and their usage.
#define BOOST_RE_PLATFORM_W32
#endif
#if defined(__MWERKS__) || defined(__DECCXX)
#if (defined(__MSL_CPP__) && __MSL_CPP__ < 0x6209) || defined(__DECCXX)
// no std::messages facet
#define BOOST_RE_NO_MESSAGES
#define BOOST_RE_NO_CAT
@ -297,10 +297,6 @@ full list of macros and their usage.
#endif
#ifdef __MWERKS__
#define BOOST_RE_NO_CAT
#endif
#ifdef __SUNPRO_CC
#if (__SUNPRO_CC < 0x500)
#define BOOST_RE_NO_NAMESPACES

View File

@ -183,7 +183,7 @@ public:
typedef std::string string_type;
typedef int locale_type;
static size_t BOOST_RE_CALL length(const char_type* p)
static std::size_t BOOST_RE_CALL length(const char_type* p)
{
return std::strlen(p);
}
@ -267,7 +267,7 @@ public:
typedef unsigned int size_type;
typedef std::basic_string<wchar_t> string_type;
typedef int locale_type;
static size_t BOOST_RE_CALL length(const char_type* p)
static std::size_t BOOST_RE_CALL length(const char_type* p)
{
return std::wcslen(p);
}
@ -390,7 +390,7 @@ public:
typedef std::string string_type;
typedef int locale_type;
static size_t BOOST_RE_CALL length(const char_type* p)
static std::size_t BOOST_RE_CALL length(const char_type* p)
{
return std::strlen(p);
}
@ -464,7 +464,7 @@ public:
typedef unsigned int size_type;
typedef std::basic_string<wchar_t> string_type;
typedef int locale_type;
static size_t BOOST_RE_CALL length(const char_type* p)
static std::size_t BOOST_RE_CALL length(const char_type* p)
{
return std::wcslen(p);
}
@ -607,7 +607,7 @@ public:
cpp_regex_traits();
~cpp_regex_traits();
static size_t BOOST_RE_CALL length(const char_type* p)
static std::size_t BOOST_RE_CALL length(const char_type* p)
{
return std::strlen(p);
}
@ -693,7 +693,7 @@ private:
public:
static size_t BOOST_RE_CALL length(const char_type* p)
static std::size_t BOOST_RE_CALL length(const char_type* p)
{
return std::wcslen(p);
}