Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Templates/TypeWrapper.h |
Include |
#include "Templates/TypeWrapper.h" |
*void f
(
int t
)
Wraps a type.
The intended use of this template is to allow types to be passed around where the unwrapped type would give different behavior. An example of this is when you want a template specialization to refer to the primary template, but doing that would cause infinite recursion through the specialization, e.g.:
// Before template
template <> struct TThing