From 7c5e1f05c47714d9f26183b4402fdfccb137fafa Mon Sep 17 00:00:00 2001 From: John Maddock Date: Mon, 28 Feb 2005 10:54:12 +0000 Subject: [PATCH] Added fix for compilers without . [SVN r27515] --- include/boost/regex/concepts.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/boost/regex/concepts.hpp b/include/boost/regex/concepts.hpp index c64d5e2b..5b00ec78 100644 --- a/include/boost/regex/concepts.hpp +++ b/include/boost/regex/concepts.hpp @@ -782,7 +782,9 @@ struct BoostRegexConcept std::ptrdiff_t pt = except.position(); ignore_unused_variable_warning(pt); const Regex ce, ce2; +#ifndef BOOST_NO_STD_LOCALE m_stream << ce; +#endif unsigned i = ce.error_code(); ignore_unused_variable_warning(i); pointer_type p = ce.expression(); @@ -829,8 +831,10 @@ struct BoostRegexConcept m_string = m_char + m_sub; ignore_unused_variable_warning(m_string); +#ifndef BOOST_NO_STD_LOCALE m_stream << m_sub; m_stream << m_cresults; +#endif } std::basic_ostream m_stream;