digitalmars.D.learn - What's the default implementation of opCmp/opEquals for structs?
Jack <jckj33 gmail.com> writes:
the one that the compiler defaults to when you don't provide one?
Steven Schveighoffer <schveiguy gmail.com> writes:
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