Predicate isAggregateType03
Holds if t
is an aggregate type, according to the rules specified in
C++03 8.5.1(1):
An aggregate is an array or a class (clause 9) with no user-declared constructors (12.1), no private or protected non-static data members (clause 11), no base classes (clause 10), and no virtual functions (10.3).
Import path
import semmle.code.cpp.PODType03
predicate isAggregateType03(Type t)