Namespaces
Variants
Views
Actions

std::type_index::type_index

From cppreference.com
< cpp‎ | types‎ | type index
 
 
Utilities library
 
 
 
type_index( const std::type_info& info ) noexcept;
(since C++11)

Constructs the type index from std::type_info object.

[edit] Parameters

info - type information object

[edit] Example