C++ named requirements: TrivialType
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.
[edit] Requirements
- TriviallyCopyable
- If the type is a class type or array thereof, the class has one or more eligible default constructors, all of which are trivial.
[edit] Notes
|
A default constructor is eligible if and only if it is non-deleted. |
(until C++20) |
[edit] See also
| (C++11) |
checks if a type is trivial (class template) |

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
