C++11 initializer_list and Range-based for loop