std::type_index::type_index

来自cppreference.com
< cpp‎ | types‎ | type index
 
 
 
 
 
type_index( const std::type_info& info ) noexcept;
(C++11 起)

std::type_info 对象构造类型索引。

参数

info-类型信息对象

示例