Minor extension to cast syntax

Janice Caron caron800 at googlemail.com
Wed Oct 31 14:53:12 PDT 2007


On 10/31/07, Bruce Adams <tortoise_74 at yeah.who.co.uk> wrote:
> > Indeed. And in D2, we've now also got
> >
> > to!(int)(foo)
> >
> > which follows the same pattern
>
> to is a difficult word to google. The shriek doesn't help. Would someone care to enlighten me as to precisely what to does and how a "to" conversion differs from a cast?

See
http://digitalmars.com/d/phobos/std_conv.html



More information about the Digitalmars-d mailing list