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()