Namespaces
Variants
Views
Actions

std::hash<std::type_index>

From cppreference.com
< cpp‎ | types‎ | type index
Revision as of 08:09, 15 August 2013 by P12 (Talk | contribs)

 
 
 
Type support
Basic types
Fundamental types
Fixed width integer types (C++11)
Numeric limits
C numeric limits interface
Runtime type information
Type traits
Primary type categories
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
Type properties
(C++11)
(C++11)
(C++11)
(C++14)
Supported operations
Relationships and property queries
(C++11)
(C++11)
(C++11)
(C++11)
Type modifications
(C++11)(C++11)(C++11)
Type transformations
(C++11)
(C++11)
(C++11)
Type trait constants
 
 
Defined in header <typeindex>
struct hash<type_index>;
(since C++11)

The template specialization of std::hash for std::type_index allows users to obtain hashes of objects of type std::type_index.

Return value

Effectively returns the same value as hash_code().

See also

returns hashed code
(public member function) [edit]