opEquals code generation

Steven Schveighoffer schveiguy at yahoo.com
Tue Sep 19 12:38:43 UTC 2017


On 9/19/17 8:01 AM, drug wrote:
> I iterate over struct members and check against equality depending on 
> member type. is there more simple/cleaner/better way to achieve this 
> functionality? Especially without string mixins?

Why not just use tupleof directly instead of having to find the member 
name and using mixins?

-Steve


More information about the Digitalmars-d-learn mailing list