In clion 2017.1 when I choose live template for iterating a range (ctrl+j iter), then I get following code:
for (auto &&item : __) {
}
Is it really a good idea to use forwading reference as iteration object? If its used as a live template then maybe it is becoming a standard?
Aucun commentaire:
Enregistrer un commentaire