is there a reason declarative style if are allowed, but not while ?

Elronnd elronnd at elronnd.net
Sat Feb 27 00:05:29 UTC 2021


On Friday, 26 February 2021 at 20:32:18 UTC, deadalnix wrote:
> while (auto foo = bar()) { ... }

for (T foo; foo = bar();) { ... }


More information about the Digitalmars-d mailing list