Adding a new design constraint to D

Nick Treleaven nick at geany.org
Sat Jun 18 08:56:42 UTC 2022


On Saturday, 18 June 2022 at 08:49:30 UTC, Salih Dincer wrote:
>   for (int i = 1; i; --i)
>   {

D supports this or the `for (i = 0; i; i++)` variant. Walter's 
example has a semicolon before the brace - that is an error as 
it's easy not to notice it!


More information about the Digitalmars-d mailing list