@@ -130,7 +136,7 @@
Revised
-
+
28 June 2004
© Copyright John Maddock 1998-
diff --git a/include/boost/regex/v4/regex_match.hpp b/include/boost/regex/v4/regex_match.hpp
index db3d9aa3..b12de6fe 100644
--- a/include/boost/regex/v4/regex_match.hpp
+++ b/include/boost/regex/v4/regex_match.hpp
@@ -107,6 +107,7 @@ inline bool regex_match(const char* str,
match_results m;
return regex_match(str, str + regex::traits_type::length(str), m, e, flags | regex_constants::match_any);
}
+#ifndef BOOST_NO_STD_LOCALE
inline bool regex_match(const char* str,
cmatch& m,
const basic_regex >& e,
@@ -121,6 +122,7 @@ inline bool regex_match(const char* str,
match_results m;
return regex_match(str, str + regex::traits_type::length(str), m, e, flags | regex_constants::match_any);
}
+#endif
inline bool regex_match(const char* str,
cmatch& m,
const basic_regex >& e,
@@ -166,6 +168,7 @@ inline bool regex_match(const wchar_t* str,
match_results m;
return regex_match(str, str + wregex::traits_type::length(str), m, e, flags | regex_constants::match_any);
}
+#ifndef BOOST_NO_STD_LOCALE
inline bool regex_match(const wchar_t* str,
wcmatch& m,
const basic_regex >& e,
@@ -180,6 +183,7 @@ inline bool regex_match(const wchar_t* str,
match_results m;
return regex_match(str, str + wregex::traits_type::length(str), m, e, flags | regex_constants::match_any);
}
+#endif
inline bool regex_match(const wchar_t* str,
wcmatch& m,
const basic_regex >& e,
@@ -225,6 +229,7 @@ inline bool regex_match(const std::string& s,
match_results m;
return regex_match(s.begin(), s.end(), m, e, flags | regex_constants::match_any);
}
+#ifndef BOOST_NO_STD_LOCALE
inline bool regex_match(const std::string& s,
smatch& m,
const basic_regex >& e,
@@ -239,6 +244,7 @@ inline bool regex_match(const std::string& s,
match_results m;
return regex_match(s.begin(), s.end(), m, e, flags | regex_constants::match_any);
}
+#endif
inline bool regex_match(const std::string& s,
smatch& m,
const basic_regex >& e,
@@ -284,6 +290,7 @@ inline bool regex_match(const std::basic_string& s,
match_results::const_iterator> m;
return regex_match(s.begin(), s.end(), m, e, flags | regex_constants::match_any);
}
+#ifndef BOOST_NO_STD_LOCALE
inline bool regex_match(const std::basic_string& s,
match_results::const_iterator>& m,
const basic_regex >& e,
@@ -298,6 +305,7 @@ inline bool regex_match(const std::basic_string& s,
match_results::const_iterator> m;
return regex_match(s.begin(), s.end(), m, e, flags | regex_constants::match_any);
}
+#endif
inline bool regex_match(const std::basic_string& s,
match_results::const_iterator>& m,
const basic_regex >& e,
diff --git a/include/boost/regex/v4/regex_workaround.hpp b/include/boost/regex/v4/regex_workaround.hpp
index 090bcd2e..695e8f65 100644
--- a/include/boost/regex/v4/regex_workaround.hpp
+++ b/include/boost/regex/v4/regex_workaround.hpp
@@ -25,6 +25,7 @@
#include
#include
#include
+#include
#include
#include
#include