Namespaces
Variants

std::type_index:: type_index

From cppreference.net
Utilities library
type_index ( const std:: type_info & info ) noexcept ;
(начиная с C++11)

Создает индекс типа из объекта std::type_info .

Параметры

info - объект информации о типе

Пример