diff --git a/include/boost/mpl/string.hpp b/include/boost/mpl/string.hpp index 22c71cb..6a9481a 100644 --- a/include/boost/mpl/string.hpp +++ b/include/boost/mpl/string.hpp @@ -44,7 +44,6 @@ #include #include #include -#include #include // for bidirectional_iterator_tag #include @@ -499,6 +498,7 @@ namespace boost { namespace mpl , back_ = BOOST_PP_CAT(C, BOOST_PP_DEC(BOOST_MPL_STRING_MAX_PARAMS)) }; + typedef char value_type; typedef string type; typedef string_tag tag; }; @@ -541,11 +541,11 @@ namespace boost { namespace mpl #undef M0 typedef c_str type; - static char const value[]; + static typename Sequence::value_type const value[BOOST_MPL_LIMIT_STRING_SIZE+1]; }; template - char const c_str::value[] = + typename Sequence::value_type const c_str::value[BOOST_MPL_LIMIT_STRING_SIZE+1] = { #define M0(z, n, data) \ mpl::aux_::deref_unless::type::value,