Warn about do nothing expressions?

Iain Buclaw ibuclaw at gdcproject.org
Mon Mar 31 10:00:07 PDT 2014


On 28 March 2014 22:12, Ali Çehreli <acehreli at yahoo.com> wrote:
> On 03/28/2014 03:05 PM, Timon Gehr wrote:
>
>> On 03/28/2014 10:56 PM, Ali Çehreli wrote:
>
>>> It is undefined behavior in both languages.
>>
>> How do you reach that conclusion in the case of D?
>
> By trusting my ignorance on such an execution order in D. :)
>
> Walter has been saying for a while that D will eventually make some
> execution orders standard (e.g. for function arguments). I would like to
> know if the situation has improved.
>

Regardless of what anyone says.  So long as this bug is open (linked),
then order of evaluation can only be regarded as undefined. :-)

http://bugzilla.gdcproject.org/show_bug.cgi?id=8

Regards
Iain.



More information about the Digitalmars-d mailing list