5#include "Serialization/CompactBinary.h"
6#include "Serialization/CompactBinaryWriter.h"
7#include "Templates/Tuple.h"
9template <
typename... Types>
13 VisitTupleElements([&Writer](
auto&& ElementValue) { Writer << ElementValue; }, Tuple);
18template <
typename... Types>
21 bool bOk = Field.AsArrayView().Num() ==
sizeof...(Types);
22 FCbFieldViewIterator ElementIterator = Field.CreateViewIterator();
24 VisitTupleElements([&ElementIterator, &bOk](
auto&& ElementValue)
26 bOk = LoadFromCompactBinary(ElementIterator++, ElementValue) & bOk;
bool LoadFromCompactBinary(FCbFieldView Field, TTuple< Types... > &Tuple)