mirror of
https://github.com/boostorg/regex.git
synced 2025-07-19 15:22:09 +02:00
Added some missing std:: prefixes and fixed Metroworks 7 support
[SVN r10464]
This commit is contained in:
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user