find difference between two struct instances.

FoxyBrown via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jul 21 14:03:22 PDT 2017


Is there a way to easily find the differences between to struct 
instances? I would like to report only the differences

e.g.,

writeln(s1 - s2);

prints only what is different between s1 and s2.


More information about the Digitalmars-d-learn mailing list