mercredi 17 avril 2019

Why are std::future and std::promise not final?

I wounder why the classes std::future and std::promise are not marked with the final specifier. The destructor is not virtual so why was final not added? What was (is) the rationale?

Aucun commentaire:

Enregistrer un commentaire