Precedence of 'new' vs '.'

Jarrett Billingsley jarrett.billingsley at gmail.com
Tue May 5 18:14:51 PDT 2009


On Tue, May 5, 2009 at 8:49 PM, Derek Parnell <derek at psych.ward> wrote:

> So presumably if it was changed to behave as Java, to get the current
> functionality one would need to write ...
>
> new (MyClass().run());

Except that currently has no meaning, since you can't return a type
from a function :P



More information about the Digitalmars-d mailing list