Community
Participate
Working Groups
The C++11 standard, section 3.9 states: Scalar types, trivial class types (Clause 9), arrays of such types and cv-qualified versions of these types (3.9.3) are collectively called trivial types. The commit at http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=3b7da721b60c53f8f3e5baedeb41542f9d28d0d8 in the applyUnaryTypeIdOperator() method contains the code: case op_is_trivial: return type instanceof ICPPClassType && TypeTraits.isTrivial((ICPPClassType) type, point) ? 1 : 0; It should also return true for scalar types and arrays of trivial types.