What's the correct opEquals signature for structs?

Alex Rønne Petersen xtzgzorex at gmail.com
Tue Mar 13 14:02:19 PDT 2012


On 13-03-2012 21:39, bearophile wrote:
> 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

It's just aliased to bool right now.

-- 
- Alex


More information about the Digitalmars-d-learn mailing list