1#ifndef _RHEOLEF_PRETTY_NAME_H
2#define _RHEOLEF_PRETTY_NAME_H
24#include "rheolef/compiler.h"
50extern std::string
typeid_name (
const char* name,
bool do_indent);
54#define typename_macro(T) rheolef::typeid_name(typeid(T).name(), false)
55#define pretty_typename_macro(T) rheolef::typeid_name(typeid(T).name(), true)
58template <
class T> std::string
typename_of (
T x) {
return typename_macro(
T); }
This file is part of Rheolef.
std::string typeid_name(const char *name, bool do_indent)
std::string pretty_typename_of(T x)
std::string typename_of(T x)
get string type from a variable or expression