C++ keyword: default - cppreference.com (original) (raw)
[edit] Usage
- switch statement: as the declaration of the default case label
explicitly-defaulted function definition: as an explicit instruction to the compiler to generate special member function or a comparison operator(since C++20) for a class. | (since C++11) |
---|