##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::type_index::type_index

From cppreference.com
< cpp‎ | types‎ | type index

type_index( const std::type_info& info ); |  | (since C++11)

Constructs the type index from std::type_info object.

### [edit] Parameters

info | - | type information object

### [edit] Example

| This section is incomplete Reason: no example

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/types/type_index/type_index&oldid=63494"
Category:

- Todo no example