Opened 8 years ago
Last modified 5 years ago
#28 new enhancement
Look at automatically generating ?==?, ?!=? for all structs
Reported by: | pabuhr | Owned by: | |
---|---|---|---|
Priority: | major | Component: | cfa-cc |
Version: | 1.0 | Keywords: | |
Cc: |
Description
- Meaning would be recursive member-wise comparison.
- Would it require adding these two operators to
otype
constraints, or otherwise they could not be automatically generated for generic types. - Need to consider if there are any complete types for which equality is not a meaningful concept, and if it would be harmful to generate these for those types.
Note: See
TracTickets for help on using
tickets.
There is also the default operator implementation proposal in the repository. It would handle this an a number of other operators that could be generated on request.