Should I compare pointers with is of == ?

Moritz Warning moritzwarning at web.de
Wed Oct 14 05:51:57 PDT 2009


On Wed, 14 Oct 2009 08:15:01 -0400, #ponce wrote:

> It's a bit unclear to me.
> 
> I know I must compare references with is but pointers ?

There is no difference because you can't overload the == operator etc. 
for pointers.


More information about the Digitalmars-d-learn mailing list