On 3/3/21 1:37 PM, Jack wrote:
the one that the compiler defaults to when you don't provide one?
There's no default opCmp. For opEquals, it's a memberwise comparison. -Steve
Steven Schveighoffer via Digitalmars-d-learn Wed, 03 Mar 2021 10:45:50 -0800
On 3/3/21 1:37 PM, Jack wrote:
the one that the compiler defaults to when you don't provide one?
There's no default opCmp. For opEquals, it's a memberwise comparison. -Steve