From f81bdae7f19c351f5b9f4b1269ad8a038132af96 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Fri, 13 Sep 2002 11:41:21 +0000 Subject: [PATCH] Fixed forward declarations, added tentative IBM C++ fix [SVN r15298] --- include/boost/regex.hpp | 2 +- include/boost/regex_fwd.hpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/regex.hpp b/include/boost/regex.hpp index d3da66ee..8ad2fbca 100644 --- a/include/boost/regex.hpp +++ b/include/boost/regex.hpp @@ -524,7 +524,7 @@ public: set_expression(first, last, f | regbase::use_except); return *this; } -#ifndef BOOST_NO_MEMBER_TEMPLATES +#if !defined(BOOST_NO_MEMBER_TEMPLATES) && !(defined(__IBMCPP__) && (__IBMCPP__ <= 500)) template unsigned int BOOST_REGEX_CALL set_expression(const std::basic_string& p, flag_type f = regbase::normal) diff --git a/include/boost/regex_fwd.hpp b/include/boost/regex_fwd.hpp index 07aea147..679ad945 100644 --- a/include/boost/regex_fwd.hpp +++ b/include/boost/regex_fwd.hpp @@ -53,9 +53,9 @@ class regex_traits; template , class Allocator = BOOST_DEFAULT_ALLOCATOR(charT) > class reg_expression; -typedef reg_expression, BOOST_DEFAULT_ALLOCATOR(char)> regex; +typedef reg_expression, BOOST_DEFAULT_ALLOCATOR(char) > regex; #ifndef BOOST_NO_WREGEX -typedef reg_expression, BOOST_DEFAULT_ALLOCATOR(wchar_t)> wregex; +typedef reg_expression, BOOST_DEFAULT_ALLOCATOR(wchar_t) > wregex; #endif } // namespace boost