cpp / latest / types / type_index / type_index.html /

std::type_index::type_index

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

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/types/type_index/type_index