Why default keyword c++?

It’s a new C++11 feature. It means that you want to use the compiler-generated version of that function, so you don’t need to specify a body . You can also use = delete to specify that you don’t want the compiler to generate that function automatically.9 Mar 2016

Read more