Also you can use new c++ range based for to iterate throug FMap entries
But remember to use const references, not value type to ommit unintentional copying of elements. You can also use const auto &
in place of const FVector &
- so the compiler will calculate and substitute type automatically.
Also there are some more options and explanations here A new, community-hosted Unreal Engine Wiki - Announcements - Epic Developer Community Forums