DMD 1.025 and 2.009 releases
Jarrett Billingsley
kb3ctd2 at yahoo.com
Tue Jan 1 15:05:53 PST 2008
""Jérôme M. Berger"" <jeberger at free.fr> wrote in message
news:fleb1b$1ol5$1 at digitalmars.com...
> const (C) c = (someCondition) ? (new C (1)) : (new C (2)),
OK. I guess the point I was trying to make before is that you can't
generally combine declaration and initialization. I'm sure you can all
imagine a more complex example that would be prohibitive/stupid to try to
initialize in a single expression.
More information about the Digitalmars-d-announce
mailing list