Simox  2.3.74.0
simox::meta Namespace Reference

Data Structures

struct  key_type
 
struct  key_type< const T & >
 
struct  key_type< const T >
 
struct  key_type< std::map< KeyT, ValueT, OtherT... >, void >
 
struct  key_type< std::set< KeyT, OtherT... >, void >
 
struct  key_type< std::unordered_map< KeyT, ValueT, OtherT... >, void >
 
struct  key_type< std::unordered_set< KeyT, OtherT... >, void >
 
struct  key_type< T & >
 

Typedefs

template<class T >
using key_type_t = typename key_type< T >::type
 

Functions

std::string get_type_name (const std::type_info &typeInfo)
 Return the demangled type name in typeInfo. More...
 
template<typename T >
std::string get_type_name ()
 Return the demangled (static) type name of t. More...
 
template<typename T >
std::string get_type_name (const T &t)
 Return the demangled (dynamic) type name of t. More...
 

Typedef Documentation

◆ key_type_t

template<class T >
using simox::meta::key_type_t = typedef typename key_type<T>::type

Function Documentation

◆ get_type_name() [1/3]

std::string simox::meta::get_type_name ( const std::type_info &  typeInfo)

Return the demangled type name in typeInfo.

◆ get_type_name() [2/3]

template<typename T >
std::string simox::meta::get_type_name ( )

Return the demangled (static) type name of t.

◆ get_type_name() [3/3]

template<typename T >
std::string simox::meta::get_type_name ( const T &  t)

Return the demangled (dynamic) type name of t.