Is there any performance difference between the two?
Let’s suppose we’d like to get all actors from current scene. Which version would you use?
for (AActor* Actor : TActorRange<AActor>(()))
{
// ...
}
for (TActorIterator<AActor> ActorItr(()); ActorItr; ++ActorItr)
{
// ...
}