c++ backend: for loop over array items.