EnTT: entt::type_identity< Type > Struct Template Reference

EnTT 3.15.0

Loading...
Searching...
No Matches
Public Types | List of all members
entt::type_identity< Type > Struct Template Reference

Identity type trait. More...

`#include <type_traits.hpp>`

## Public Types
using | type = Type
| Identity type.

## Detailed Description

template<typename Type>
struct entt::type_identity< Type >

Identity type trait.

Useful to establish non-deduced contexts in template argument deduction (waiting for C++20) or to provide types through function arguments.

Template Parameters

  Type | A type.

Definition at line 44 of file type_traits.hpp.

## Member Typedef Documentation

## ◆ type

template<typename Type>

using entt::type_identity< Type >::type = Type

Identity type.

Definition at line 46 of file type_traits.hpp.

The documentation for this struct was generated from the following file:

- src/entt/core/type_traits.hpp