Skip to content

Commit

Permalink
Disable the tn_holder<wchar_t> specialization when BOOST_NO_INTRINSIC…
Browse files Browse the repository at this point in the history
…_WCHAR_T. Refs #173.
  • Loading branch information
pdimov committed May 28, 2024
1 parent a77338b commit 3f36d50
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/boost/core/type_name.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,8 @@ template<> struct tn_holder<boost::uint128_type>

#endif

#if !defined(BOOST_NO_INTRINSIC_WCHAR_T)

template<> struct tn_holder<wchar_t>
{
static std::string type_name( std::string const& suffix )
Expand All @@ -354,6 +356,8 @@ template<> struct tn_holder<wchar_t>
}
};

#endif

#if !defined(BOOST_NO_CXX11_CHAR16_T)

template<> struct tn_holder<char16_t>
Expand Down

0 comments on commit 3f36d50

Please sign in to comment.