enum class Sema::DefaultedComparisonKind
Description
Kinds of defaulted comparison operator functions.
Declared at: clang/include/clang/Sema/Sema.h:1527
Enumerators
Name | Value | Comment |
---|---|---|
None | 0 | This is not a defaultable comparison operator. |
Equal | 1 | This is an operator== that should be implemented as a series of subobject comparisons. |
ThreeWay | 2 | This is an operator < => that should be implemented as a series of subobject comparisons. |
NotEqual | 3 | This is an operator!= that should be implemented as a rewrite in terms of a == comparison. |
Relational | 4 | This is an < , < =, >, or >= that should be implemented as a rewrite in terms of a < => comparison. |