From 3f36d507f2cd9ba55716336c3fb1843d951830ae Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Tue, 28 May 2024 19:32:36 +0300 Subject: [PATCH] Disable the tn_holder specialization when BOOST_NO_INTRINSIC_WCHAR_T. Refs #173. --- include/boost/core/type_name.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/boost/core/type_name.hpp b/include/boost/core/type_name.hpp index c5cbbbd..81e00c2 100644 --- a/include/boost/core/type_name.hpp +++ b/include/boost/core/type_name.hpp @@ -346,6 +346,8 @@ template<> struct tn_holder #endif +#if !defined(BOOST_NO_INTRINSIC_WCHAR_T) + template<> struct tn_holder { static std::string type_name( std::string const& suffix ) @@ -354,6 +356,8 @@ template<> struct tn_holder } }; +#endif + #if !defined(BOOST_NO_CXX11_CHAR16_T) template<> struct tn_holder