Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
Functions
uni20::demangle Namespace Reference

Functions

std::string demangle (const char *name)
 Turn a compiler‐mangled name into a human‐readable one.
 
template<typename T >
std::string demangle_type ()
 

Function Documentation

◆ demangle()

std::string uni20::demangle::demangle ( const char *  name)
inline

Turn a compiler‐mangled name into a human‐readable one.

Parameters
nameThe result of typeid(...).name().
Returns
A demangled string if supported; otherwise returns name.

◆ demangle_type()

template<typename T >
std::string uni20::demangle::demangle_type ( )