C++ named requirements: TrivialType

From cppreference.com
< cpp‎ | named req
 
 
C++ named requirements
Basic
Type properties
TrivialType
(C++11)
Library-Wide
Container
Container Elements
Iterator
Stream I/O
Formatting
(C++20)
Random Numbers
Concurrency
(C++11)
(C++11)
Other
 

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

The following types are collectively called trivial types:

See also

checks if a type is trivial
(class template)