Pointers vs. References
Oskar Linde
oskar.lindeREM at OVEgmail.com
Thu Jun 14 04:49:39 PDT 2007
Myron Alexander skrev:
> Bill Baxter wrote:
>> But '==' *does* work differently for different types. Already.
>
> Sorry. What I meant is that is has the same semantics. When you see ==,
> you can be sure that it means "check if value is the same".
One could argue that = should be analogous to ==. I.e, if = assigns
references, == should compare references.
I am not arguing either way. :)
/Oskar
More information about the Digitalmars-d
mailing list