Where statement

Kagamin spam at here.lot
Sun Jul 25 06:30:14 PDT 2010


bearophile Wrote:

> auto c = sqrt(a*a + b*b) where {
>     auto a = retrieve_a();
>     auto b = retrieve_b();
> }

the where statement looks as a declaration statement, but scoped block allows arbitrary statements.


More information about the Digitalmars-d mailing list