Definition and Usage The default keyword the default block of code in a switch statement. The default keyword specifies some code to run if there is no case match in the switch . Note: if the default keyword is used as the last statement in a switch block, it does not need a break .
Read moreWhy 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