Given a lambda:
auto f = [](const T& var){ return var; };
Why return type of f is T (not const T&)? Where is this in the Standard?
f
T
const T&
Aucun commentaire:
Enregistrer un commentaire