in for(auto e : elem) I am trying to figure how to access element e-1. while in pre- C++ 11 it would have just been elem[e-1] I am sure that has to be a c++ 11 equivalent.
for(auto e : elem)
elem[e-1]
Aucun commentaire:
Enregistrer un commentaire