Safer casts

terranium spam at here.lot
Sat May 10 02:22:08 PDT 2008


BCS Wrote:

> The major issue I have with this is that the construct that actually 
> does the downcast MUST also do the type check. Therefor it gets done 
> twice and this is  a bit of a performance issue.

current implementation of cast already does the typecheck, so there will be no performance issue.



More information about the Digitalmars-d mailing list