Namespaces
Variants

std::type_index:: type_index

From cppreference.net
Utilities library
type_index ( const std:: type_info & info ) noexcept ;
(since C++11)

Constructs the type index from std::type_info object.

Parameters

info - type information object

Example