mercredi 5 juillet 2017

What is the difference between int& name and int &name in C++? [duplicate]

This question already has an answer here:

I was wondering what is the difference between int& name and int &name if there is any. One example:

   for (auto& c : s) {...}
   for (auto &c : s) {...}

Aucun commentaire:

Enregistrer un commentaire