jeudi 22 décembre 2022

I'd like to ask a question about decltype

I am c + + novice, I want to ask this code, a + b executed once or twice, with what method to verify?

double num3 = [](double a, double b)->decltype(a + b) { return a + b; }(1.2, 2.1);

Aucun commentaire:

Enregistrer un commentaire