The Thermopylae excerpt of TDPL available online

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Thu Oct 29 10:37:25 PDT 2009


Ellery Newcomer wrote:
> Andrei Alexandrescu wrote:
>> Ellery Newcomer wrote:
>>> Andrei Alexandrescu wrote:
>>>> It's a rough rough draft, but one for the full chapter on arrays,
>>>> associative arrays, and strings.
>>>>
>>>> http://erdani.com/d/thermopylae.pdf
>>>>
>>>> Any feedback is welcome. Thanks!
>>>>
>>>>
>>>> Andrei
>>> Maybe I haven't been paying attention lately, but shouldn't
>>>
>>> assert(x == 0)
>>>
>>> be
>>>
>>> assert(x[] == 0)
>>>
>>> ?
>> Where does the former occur?
>>
>> Thanks,
>>
>> Andrei
> 
> top of page 102

Thanks. Notice that x is an integer because it was fetched as array[5].

Andrei


More information about the Digitalmars-d-announce mailing list