std::type_index::type_index

From cppreference.net
< cpp‎ | types‎ | type index
 
 
Utilities library
General utilities
Relational operators (deprecated in C++20)
 
 
 
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