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.
Requirements
- TriviallyCopyable
- Has one or more default constructors, all of which are either trivial or deleted, and at least one of which is not deleted.
See also
(C++11) | checks if a type is trivial (class template) |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/named_req/TrivialType