name_demangling Namespace Reference

name_demangling Namespace Reference#

Reference API: gko::name_demangling Namespace Reference
Reference API
gko::name_demangling Namespace Reference

The name demangling namespace. More...

Functions

std::string get_type_name (const std::type_info &tinfo)
 
template<typename T >
std::string get_static_type (const T &)
 
template<typename T >
std::string get_dynamic_type (const T &t)
 

Detailed Description

The name demangling namespace.

Function Documentation

◆ get_dynamic_type()

template<typename T >
std::string gko::name_demangling::get_dynamic_type ( const T &  t)

This function uses name demangling facilities to get the name of the dynamic type of the object passed in arguments.

Template Parameters
Tthe type of the object to demangle
Parameters
tthe object we get the dynamic type of

◆ get_static_type()

template<typename T >
std::string gko::name_demangling::get_static_type ( const T &  )

This function uses name demangling facilities to get the name of the static type (T) of the object passed in arguments.

Template Parameters
Tthe type of the object to demangle
Parameters
unused