ClassName.hpp File Reference

A free function to provide the demangled class name of a given object or type as a string. More...

#include <cstdlib>
#include <string>
#include <typeinfo>
Include dependency graph for ClassName.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Opm
 

Functions

template<class T >
std::string Opm::className ()
 Provide the demangled class name of a given object as a string. More...
 
template<class T >
std::string Opm::className (const T &)
 Provide the demangled class name of a given object as a string. More...
 

Detailed Description

A free function to provide the demangled class name of a given object or type as a string.