description | title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid | ||
---|---|---|---|---|---|---|---|
Learn more about: is_trivial Class |
is_trivial Class |
11/04/2016 |
|
|
6beb11d4-2f38-4c7e-9959-ca5d26250df7 |
Tests whether the type is a trivial type.
template <class T>
struct is_trivial;
T
The type to query.
An instance of the type predicate holds true if the type T is a trivial type, otherwise it holds false. Trivial types are scalar types, trivially copyable class types, arrays of these types and cv-qualified versions of these types.
Header: <type_traits>
Namespace: std