pars 0.2.1
Loading...
Searching...
No Matches
nametype.h File Reference
#include "pars/log/demangle.h"
#include <typeinfo>
Include dependency graph for nametype.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename value_t>
std::string nametype ()
 
template<typename value_t>
std::string nametype (value_t &x)
 

Function Documentation

◆ nametype() [1/2]

template<typename value_t>
std::string nametype ( )

Definition at line 37 of file nametype.h.

38{
39 return demangle(typeid(value_t).name());
40}

Referenced by pars::ev::spec< kind_of_event_t >::format_to(), and pars::net::op::send().

Here is the caller graph for this function:

◆ nametype() [2/2]

template<typename value_t>
std::string nametype ( value_t & x)

Definition at line 43 of file nametype.h.

44{
45 return demangle(typeid(x).name());
46}