Cast Object - get null

Namespace rswhite4 at googlemail.com
Thu Apr 19 08:48:28 PDT 2012


It seems that i can't cast if i want a const Vector2D, neither 
with castFromtObject nor with opCast. If i do it i get a very 
long list of compile errors. It's no problem because i can deal 
without cast to const but it would be usefull if you can show me 
how i can use both, const and normal casts.


More information about the Digitalmars-d-learn mailing list