1
0
forked from Alepha/Alepha

Fancy type name facility.

This commit is contained in:
2023-11-11 23:58:11 -05:00
parent 57511b2588
commit 50cc5b2857
3 changed files with 41 additions and 0 deletions

14
Utility/fancyTypeName.cc Normal file
View File

@ -0,0 +1,14 @@
static_assert( __cplusplus > 2020'99 );
#include "fancyTypeName.h"
#include <boost/core/demangle.hpp>
namespace Alepha::Hydrogen::Utility::detail::fancyTypeName_m
{
std::string
fancyTypeName( const std::type_index idx )
{
return boost::core::demangle( idx.name() );
}
}