diff --git a/include/boost/core/type_name.hpp b/include/boost/core/type_name.hpp index 81c18e6..312373f 100644 --- a/include/boost/core/type_name.hpp +++ b/include/boost/core/type_name.hpp @@ -862,6 +862,8 @@ template struct tn_holder // pointers to members +#if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) + template struct tn_holder { static std::string type_name( std::string const& suffix ) @@ -870,7 +872,7 @@ template struct tn_holder } }; -#if defined(BOOST_MSVC) && BOOST_MSVC < 1900 && !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) +#if defined(BOOST_MSVC) && BOOST_MSVC < 1900 template struct tn_holder { @@ -904,7 +906,9 @@ template struct tn_holder(); + boost::core::type_name(); + +#endif + #if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) TEST(void(A::*)());