Cast Object - get null

Namespace rswhite4 at googlemail.com
Wed Apr 18 09:52:29 PDT 2012


On Wednesday, 18 April 2012 at 16:34:08 UTC, bearophile wrote:
> 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

If you say so.

Then close or delete this thread please.


More information about the Digitalmars-d-bugs mailing list