Can we drop static struct initializers?

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Fri Nov 20 11:37:19 PST 2009


Yigal Chripun wrote:
> Andrei Alexandrescu wrote:
>> Walter Bright wrote:
>>> Andrei Alexandrescu wrote:
>>>> Would love to trim the book as well. My finger is on the Del button. 
>>>> Just say a word.
>>>
>>> Unless someone comes up with "I really need field names", dump 'em 
>>> (but save a backup of your work first!).
>>
>> My RIP emails to you (as with typedef) are my backup. Don't delete 
>> them :o).
>>
>> So, C-style arrays are gone, C-style struct initializers are gone, 
>> typedef is gone. __traits isn't feeling too well either :o).
>>
>>
>> Andrei
> 
> what about foreach_reverse ?

FWIW iota is written to work better with retro on floating-point numbers 
than foreach_reverse. However, it does one addition and one 
multiplication per iteration; foreach_revers only does one addition. The 
multiplication, however, gives iota precise semantics.

Andrei



More information about the Digitalmars-d mailing list