Feature request - type inference for new

Janice Caron caron800 at googlemail.com
Mon Jun 16 12:36:38 PDT 2008


On 16/06/2008, Steven Schveighoffer <schveiguy at yahoo.com> wrote:
> if (a < b) c = new typeof(c)(a, b);
>  else c = new typeof(c)(b, a);

That's clever. I didn't think of that.

OK - request withdrawn.



More information about the Digitalmars-d mailing list