diff --git a/include/boost/regex.hpp b/include/boost/regex.hpp index 8a050f2d..e4a10596 100644 --- a/include/boost/regex.hpp +++ b/include/boost/regex.hpp @@ -49,7 +49,7 @@ #include #include #include -#include +#include namespace boost{ @@ -428,6 +428,16 @@ struct def_alloc_param_traits typedef typename regex_iterator_traits::value_type const_value_type; typedef typename remove_cv::type type; }; +template <> +struct def_alloc_param_traits +{ + typedef char type; +}; +template <> +struct def_alloc_param_traits +{ + typedef wchar_t type; +}; }