##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# C++ keywords: default

From cppreference.com
< cpp‎ | keyword

### [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 for a class. (since C++11)

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/keyword/default&oldid=75424"