get address of object if opCast is overridden

Jonathan M Davis jmdavisProg at gmx.com
Sat Dec 1 16:47:19 PST 2012


On Sunday, December 02, 2012 00:57:14 Artur Skawina wrote:
> Seriously though, if one only needs to compare the addresses of class
> objects, "is" may be a better solution.

Is that all that was being done? I obviously missed that one way or another. 
Yeah, that's what the is operator is for.

- Jonathan M Davis


More information about the Digitalmars-d-learn mailing list