DMD 1.019 and 2.003 releases

Walter Bright newshound1 at digitalmars.com
Wed Jul 25 10:35:45 PDT 2007


Bruno Medeiros wrote:
> I agree, but on a side note, shouldn't D's cast() operator be used 
> exclusively to subvert *static* type checking?
> (Since currently it's also used to check the runtime type of class, 
> instead of a separate construct like Java's 'instanceof', C#'s 'is', or 
> C++'s 'dynamic_cast')

I could argue it either way.



More information about the Digitalmars-d-announce mailing list