Minor extension to cast syntax
Bruce Adams
tortoise_74 at yeah.who.co.uk
Wed Oct 31 19:57:19 PDT 2007
Janice Caron Wrote:
> 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
Thanks.
More information about the Digitalmars-d
mailing list