int(&foo)(int, int) = [](int a, int b) { return a + b; };
doesn't compile since a mutable reference can't be initialized with a temporary. Where do I put the const?
const
Aucun commentaire:
Enregistrer un commentaire