A switch/case too far...

terranium spam at here.lot
Thu May 22 06:14:15 PDT 2008


Janice Caron Wrote:

> 2008/5/22 terranium <spam at here.lot>:
> > there is no need for RTTI for *implicit* cast.
> 
> I know. So what?

so what's the meaning of

> check that the object can be implicitly cast to that type
> 
>     switch(typeof(a))
>     {
>         case B1: // RTTI dynamic cast test
>     }
?



More information about the Digitalmars-d mailing list