What's the correct opEquals signature for structs?

bearophile bearophileHUGS at lycos.com
Tue Mar 13 13:39:12 PDT 2012


Alex R. Petersen:

> (Stylistic note: use equals_t instead of bool.)

What is equals_t?
See it's used here:
http://dlang.org/phobos/object.html

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list