Navigation
API > API/Runtime > API/Runtime/Core
Returns the same type passed to it. This is useful in a few cases, but mainly for inhibiting template argument deduction in function arguments, e.g.:
template
template
Equivalent to C++20's std::type_identity.
| Name | TIdentity |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/Templates/Identity.h |
| Include Path | #include "Templates/Identity.h" |
Syntax
template<typename T>
struct TIdentity
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| type | T | Templates/Identity.h | |
| Type | T | Templates/Identity.h |