std::type_index::type_index

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

std::type_info 对象构造 type_index。

参数

info - type_info 对象

示例