From a3cc73508fa5312e5b5299f1d86f735c85016fcb Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Fri, 6 Oct 2000 07:32:54 +0000 Subject: [PATCH] friend declarations to work around a Metrowerks bug [SVN r7914] --- include/boost/regex_traits.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/boost/regex_traits.hpp b/include/boost/regex_traits.hpp index 8fbee338..184729d6 100644 --- a/include/boost/regex_traits.hpp +++ b/include/boost/regex_traits.hpp @@ -149,6 +149,11 @@ public: }; static std::string set_message_catalogue(const std::string& s); protected: +#if defined(__MWERKS__) && __MWERKS__ <= 0x6000 + friend class c_regex_traits; + friend class c_regex_traits; +#endif + static char regex_message_catalogue[200]; enum syntax_map_size {