Namespaces
Variants
Views
Actions

std::type_info::hash_code

From cppreference.com
< cpp‎ | types‎ | type info
Revision as of 18:10, 2 August 2011 by P12bot (Talk | contribs)

Template:cpp/types/type info/sidebar

size_t hash_code() const;
Template:mark c++11 feature

Returns an unspecified value, which is identical for objects, referring to the same type. No other guarantees are given, in particular, the value can change between invocations of the same program.

Contents

Parameters

Template:param none

Return value

some value, which is identical for the same types.

Example

Template:example cpp

See also

Template:cpp/types/type info/dcl list operator comp
implementation defined name of the type
(public member function) [edit]