mirror of
https://github.com/boostorg/core.git
synced 2025-07-29 20:37:22 +02:00
Add overload for char8_t because Mac has no typeinfo for char8_t
This commit is contained in:
@ -288,6 +288,15 @@ inline std::string type_name( tn_identity<unsigned long long>, std::string const
|
||||
|
||||
#endif
|
||||
|
||||
#if defined(__cpp_char8_t) && __cpp_char8_t >= 201811L
|
||||
|
||||
inline std::string type_name( tn_identity<char8_t>, std::string const& suffix )
|
||||
{
|
||||
return "char8_t" + suffix;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
// cv
|
||||
|
||||
#if !defined(BOOST_MSVC) || BOOST_MSVC >= 1900
|
||||
|
Reference in New Issue
Block a user