Where statement

Trass3r un at known.com
Sun Jul 25 06:44:54 PDT 2010


> 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);
> 	};

Even more clever.


More information about the Digitalmars-d mailing list