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

Member predicate Class::hasImplicitCopyConstructor

Holds if this class, struct or union has an implicitly-declared copy constructor that is not deleted. This predicate is more accurate than checking if this class, struct or union has a CopyConstructor cc where cc.isCompilerGenerated() since such a CopyConstructor may not exist in the database if (1) it is never called or (2) it is trivial, meaning that it is equivalent to memcpy.

predicate hasImplicitCopyConstructor()