C++ named requirements: TrivialType (since C++11) (deprecated in C++26)
From cppreference.com
C++
C++ named requirements
|
|
|
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 :
- scalar types
- trivial class types
- arrays of such types
- cv-qualified versions of these types
See also
(C++11)
(deprecated in C++26)
|
checks if a type is trivial
(class template) |
Retrieved from "
https://en.cppreference.com/mwiki/index.php?title=cpp/named_req/TrivialType&oldid=178048
"