Final by default?

Ali Çehreli acehreli at yahoo.com
Wed Mar 12 16:40:22 PDT 2014


On 03/12/2014 04:34 PM, Joseph Rushton Wakeling wrote:
> On 13/03/14 00:14, Ali Çehreli wrote:
>> However, it is not possible to get to the "else" part of that version
>> block
>> using the above syntax. Would the same syntax work for version as well?
>>
>>      version(something):
>>          // ...
>>
>>      !version(something):
>>          // ...
>
> In that context, doesn't it make more sense:
>
>      version(!something):
>          // ...
>

Agreed.

Ali


More information about the Digitalmars-d mailing list