refactor(templates): block direct access to element 16 of TTuple
This commit is contained in:
parent
ff59698fdc
commit
0ce3d9055b
@ -58,9 +58,13 @@ struct TTupleElementType<0> { };
|
||||
template <typename T, size_t Index>
|
||||
struct TTupleElement
|
||||
{
|
||||
private:
|
||||
|
||||
using ValueType = T;
|
||||
ValueType Value;
|
||||
|
||||
public:
|
||||
|
||||
template <typename Type>
|
||||
constexpr TTupleElement(Type&& Arg)
|
||||
: Value(Forward<Type>(Arg))
|
||||
|
Loading…
Reference in New Issue
Block a user