c++11
vendredi 31 août 2018
What is the difference between "const auto" and "auto const" in range based for loop in C++?
In particular these two examples.
for (const auto &ind : vec)
for (auto const &ind :vec)
Aucun commentaire:
Enregistrer un commentaire
‹
›
Accueil
Afficher la version Web
Aucun commentaire:
Enregistrer un commentaire