Unofficial wish list status.(Mar 2009)

Christopher Wright dhasenan at gmail.com
Sun Mar 1 05:58:57 PST 2009


Daniel Keep wrote:
> unordered foreach( i ; 0..10 )
> {
>     ...
> }

If the foreach body consists of a pure function call, then the foreach 
is reorderable and parallelizable.

Considering that, you could save a keyword and use 'pure' rather than 
'foreach'.

If you like the idea, send Walter a patch for this.



More information about the Digitalmars-d mailing list