C++ concepts: TrivialType - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# C++ concepts: TrivialType

From cppreference.com
< cpp‎ | concept

Specifies that a type is trivial type.

Note, that the standard doesn't define a named requirement or concept with this name. This is a type category defined by the core language. It is included here as concept only for consistency.

### [edit] Requirements

- `TriviallyCopyable`
- Trivial default constructor

### [edit] See also

is_trivial (C++11) | checks if a type is trivial (class template) [edit]

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/concept/TrivialType&oldid=72383"