opCast and implicit casting

Nils Hensel nils.hensel at web.de
Tue May 16 00:21:00 PDT 2006


Hi group,

I have always wondered why implicit casting is disallowed even when a 
class has opCast defined for this cast's type? Isn't it obvious through 
the l-value alone? Why explicit?

Regards,
Nils



More information about the Digitalmars-d-learn mailing list