Function readable_type_name

Summary

#include "breeze/type_identification/readable_type_name.hpp"

(1) template <typename T>
    std::string readable_type_name()

(2) template <typename T>
    std::string readable_type_name(T const &ref)

Function overload

Synopsis

#include "breeze/type_identification/readable_type_name.hpp"

template <typename T>
std::string readable_type_name()

Description

Returns
A human readable name for the type T.

Source

Line 28 in breeze/type_identification/readable_type_name.hpp.

Synopsis

#include "breeze/type_identification/readable_type_name.hpp"

template <typename T>
std::string readable_type_name(T const &ref)

Description

Returns
A human readable name for the type of the object to which ref refers. If T is a polymorphic class type, the name is that of the type of the most derived object (i.e. the dynamic type), otherwise it is that of the static type (i.e. the name of T).

Source

Line 41 in breeze/type_identification/readable_type_name.hpp.