Namespaces
Variants
Views
Actions

std::type_index

From cppreference.com
< cpp‎ | types
Revision as of 08:49, 11 July 2011 by P12 (Talk | contribs)

Template:cpp/types/type index/sidebar

Template:ddcl list begin <tr class="t-dsc-header">

<td>
Defined in header <type_index>
</td>

<td></td> <td></td> </tr> <tr class="t-dcl ">

<td >
class type_index;
</td>

<td class="t-dcl-nopad"> </td> <td > Template:mark c++0x feature </td> </tr> Template:ddcl list end

The type_index class is a wrapper class around a type_info object, that can be used as index in associative and unordered associative containers.

Template:cpp/types/type index/dcl list operator comp
constructs the object
(public member function) [edit]
returns hashed code
(public member function) [edit]
returns implementation defined name of the type,
associated with underlying type_info object
(public member function) [edit]