diff --git a/include/boost/icl/type_traits/type_to_string.hpp b/include/boost/icl/type_traits/type_to_string.hpp index 80c473a..994711b 100644 --- a/include/boost/icl/type_traits/type_to_string.hpp +++ b/include/boost/icl/type_traits/type_to_string.hpp @@ -43,7 +43,6 @@ namespace boost{ namespace icl template<>inline std::string type_to_string::apply() { return "flt"; } template<>inline std::string type_to_string::apply() { return "dbl"; } - template<>inline std::string type_to_string::apply() { return "string"; } //------------------------------------------------------------------------- template class Templ> @@ -78,6 +77,13 @@ namespace boost{ namespace icl } }; + // --------------------------------------------------------------------------- + template<> + struct type_to_string + { + static std::string apply() { return "string"; } + }; + }} // namespace boost icl #endif