Michel Fortin:
> Is this really an improvement over using a delegate literal?
> 
>       auto c = {
>               auto a = retrieve_a();
>               auto b = retrieve_b();
>               return sqrt(a*a + b*b);
>       };

Cute :-) I have never seen this used in D code. I think you will need to add () 
at the end when @property  get implemented fully. I hope the D compiler is able 
to inline that delegate.

Bye,
bearophile

Reply via email to