Ookii.CommandLine for C++  2.0.0
Namespaces | Functions
type_info.h File Reference

Provides helpers to obtain the name of a type. More...

#include <typeinfo>
#include <memory>
#include "string_helper.h"
Include dependency graph for type_info.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ookii
 Namespace containing the core Ookii.CommandLine.Cpp types.
 

Functions

template<typename T , typename CharType = char, typename Traits = std::char_traits<CharType>, typename Alloc = std::allocator<CharType>>
auto ookii::get_short_type_name ()
 Gets the name of a type excluding the namespace name. More...
 
template<typename CharType = char, typename Traits = std::char_traits<CharType>, typename Alloc = std::allocator<CharType>>
auto ookii::get_short_type_name (const std::type_info &type)
 Gets the name of a type excluding the namespace name. More...
 
template<typename T , typename CharType = char, typename Traits = std::char_traits<CharType>, typename Alloc = std::allocator<CharType>>
auto ookii::get_type_name ()
 Gets the name of a type. More...
 
template<typename CharType = char, typename Traits = std::char_traits<CharType>, typename Alloc = std::allocator<CharType>>
auto ookii::get_type_name (const std::type_info &type)
 Gets the name of a type. More...
 

Detailed Description

Provides helpers to obtain the name of a type.