DIP32: Uniform tuple syntax

Timon Gehr timon.gehr at gmx.ch
Fri Mar 29 06:40:46 PDT 2013


On 03/29/2013 02:20 PM, Timon Gehr wrote:
> ...
>
> 0 "Inside tuple literal, ; never appears."
>    {{;}}           // a tuple not matching your specification
>    {{if(foo()){}}} // a non-tuple matching your specification
> ...

The outer { } are not necessary in order to make the point:
  {if(foo()){}}


More information about the Digitalmars-d mailing list