##### 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

- | This section is incomplete

  as an explicit instruction to the compiler to generate default constructor, copy constructor or assignment operator for a class. (since C++11)

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

- Todo without reason