Use C++11 range-for statement