Use range based for with a reference.