We recommend using Visual Studio 2017

<typeindex>

 

The latest version of this topic can be found at <typeindex>.

Include the standard header <typeindex> to define a class and function that support the indexing of objects of class type_info.

#include <typeindex>  

The hash Structure defines a hash function that's suitable for mapping values of type type_index to a distribution of index values.

The type_index class wraps a pointer to a type_info object to assist in indexing.

Header Files Reference
Thread Safety in the C++ Standard Library
Standard Template Library

Show: