![]() |
MCRO
C++23 utilities for Unreal Engine.
|
This template is used to store pack of types in other templates, or to allow parameter pack inference for functions. This template may be referred to as 'type-list' in other parts of the documentation. More...
#include <Templates.h>
Public Types | |
| template<size_t I> | |
| using | Get = TTypeAtPack<I, T...> |
| template<size_t I> | |
| using | GetDecay = TTypeAtPackDecay<I, T...> |
Static Public Attributes | |
| static constexpr size_t | Count = sizeof...(T) |
This template is used to store pack of types in other templates, or to allow parameter pack inference for functions. This template may be referred to as 'type-list' in other parts of the documentation.
This may be much safer to use than tuples as they may try to use deleted features of listed types (especially Unreal tuples). TTypes will never attempt to use its arguments (not even in decltype or declval contexts)
Definition at line 105 of file Templates.h.
| using Mcro::Templates::TTypes< T >::Get = TTypeAtPack<I, T...> |
Definition at line 110 of file Templates.h.
| using Mcro::Templates::TTypes< T >::GetDecay = TTypeAtPackDecay<I, T...> |
Definition at line 113 of file Templates.h.
|
staticconstexpr |
Definition at line 107 of file Templates.h.