range-based for loop in C++11