c++ backend: for range loops