safer casts - take II

Janice Caron caron800 at googlemail.com
Tue May 13 12:46:59 PDT 2008


On 13/05/2008, terranium <spam at here.lot> wrote:
> just what I wrote about http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=71725

Seriously - to!(T) is the D standard way of doing convertions that
will throw an exception on failure. It is the right function for
dynamic-cast-with-throw.



More information about the Digitalmars-d mailing list