C++ named requirements: TrivialType

< cpp‎ | named req

Specifies that a type is a trivial type.

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

Requirements

Notes

A default constructor is eligible if and only if it is non-deleted.

(until C++20)

See also

(C++11)
checks if a type is trivial
(class template)