c++11 range-based for loop - access by reference FTW