DMD 1.025 and 2.009 releases

Jarrett Billingsley kb3ctd2 at yahoo.com
Tue Jan 1 13:21:58 PST 2008


""Jérôme M. Berger"" <jeberger at free.fr> wrote in message 
news:flea9n$1n0r$1 at digitalmars.com...

> Untested:
>
> const(C) c =  (delegate const(C) () {
>   if (someCondition)
>      return new C(1);
>   else
>      return new C(2);
> })();

I'm crying. 





More information about the Digitalmars-d-announce mailing list