When am I supposed to use the default keyword in C++11?
default
Is it now considered bad to write
struct Foo { };
and one should write
struct Foo { Foo() = default; };
?
Aucun commentaire:
Enregistrer un commentaire