Cast Object - get null

bearophile bearophileHUGS at lycos.com
Wed Apr 18 09:34:08 PDT 2012


Namespace:

> Vector2D is my own class. If i compare vs2 with vs it works fine, 
> but if i compare vs or vs2 with vf, the cast fail and i get a 
> null-reference. How can i avoid this?

I suggest to ask such questions in D.learn.

Bye,
bearophile


More information about the Digitalmars-d-bugs mailing list