Record Deriving¶
eq¶
Equality operator. All fields in the record are compared in the order they appear in the record declaration. If you need to add a field later, make sure the order is correct.
cpp | cppcli | java | objc |
---|---|---|---|
☑️ | ☑️ | ☑️ | ☑️ |
ord¶
Ordering comparison. Is not supported for collection types, optionals, and booleans.
cpp | cppcli | java | objc |
---|---|---|---|
☑️ | ☑️ | ☑️ | ☑️ |