Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
CodeQL library for C/C++
codeql/cpp-all 4.3.2-dev (changelog, source)

Member predicate Class::hasImplicitCopyAssignmentOperator

Holds if this class, struct or union has an implicitly-declared copy assignment operator that is not deleted. This predicate is more accurate than checking if this class, struct or union has a CopyAssignmentOperator ca where ca.isCompilerGenerated() since such a CopyAssignmentOperator 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 hasImplicitCopyAssignmentOperator()