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,