[C++]How to return more than two variables from a function?

Make a return type of TTuple<var1,var2,…>
Where vars can any exposed unreal variable types

for example

TTuple<float,bool> AMyCharacter::DoSomething()
{
  float myfloat_value = 1.0f;
  bool mybool_value = false;
  return MakeTuple(myfloat_value,mybool_value);
}