Why does this code compile?
std::function<void(const int&)> f = [](int a) { };
Aren't int and const int& different types?
int
const int&
Aucun commentaire:
Enregistrer un commentaire