rtti cast

terranium spam at here.lot
Thu May 8 05:52:16 PDT 2008


BCS Wrote:

> Thinking about it, I can't recall ever casting to a derived type where a 
> failed cast was an indication of a bug.
You can't, others can. When a function receives unexpected input it's a bug.

> a little sugar for the other way might be even handier
making default behavior unsafe is a wrong way.



More information about the Digitalmars-d mailing list