Cast Object - get null

Namespace rswhite4 at googlemail.com
Thu Apr 19 05:00:39 PDT 2012


A great thanks to you. But any of my tries to make
"const Vector2D vec = castFromObject(o);" possible i get an 
error. Didn't i must only write "private static const(Vector2D) 
castFromObject(Object o)" instead of "private static Vector2D 
castFromObject(Object o)"?


More information about the Digitalmars-d-learn mailing list