From ba787f7dfe4fb6010950cc28aeb00a1b273274a4 Mon Sep 17 00:00:00 2001 From: Hartmut Kaiser Date: Sun, 3 Apr 2005 08:31:12 +0000 Subject: [PATCH] Added compiler workarounds. [SVN r27941] --- include/boost/wave/util/flex_string.hpp | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/include/boost/wave/util/flex_string.hpp b/include/boost/wave/util/flex_string.hpp index a027e47..aab43a4 100644 --- a/include/boost/wave/util/flex_string.hpp +++ b/include/boost/wave/util/flex_string.hpp @@ -1140,7 +1140,10 @@ public: // Implements Copy on Write over any storage //////////////////////////////////////////////////////////////////////////////// -template +template < + typename Storage, + typename Align = BOOST_DEDUCED_TYPENAME Storage::value_type* +> class CowString { typedef typename Storage::value_type E; @@ -1863,15 +1866,15 @@ public: private: template class Selector {}; - template struct SameType - { - enum { result = false }; - }; - - template struct SameType - { - enum { result = true }; - }; +// template struct SameType +// { +// enum { result = false }; +// }; +// +// template struct SameType +// { +// enum { result = true }; +// }; template flex_string& ReplaceImpl(iterator i1, iterator i2,