Why not use c++11 `Range Loop`?