CodeQL library for C/C++
codeql/cpp-all 0.12.10 (changelog, source)
Search

Member predicate Class::isPod

Holds if this class, struct or union is a POD (Plain Old Data) class [N4140 9(10)].

The definition of POD changed between C++03 and C++11, so whether a class is POD can depend on which version of the language it was compiled for. For this reason, the is_pod_class predicate is generated by the extractor.

predicate isPod()