[TDPL] arrays of D future
Simen kjaeraas
simen.kjaras at gmail.com
Sun Jun 27 05:06:11 PDT 2010
Lutger <lutger.blijdestijn at gmail.com> wrote:
> wrote:
>
>> Andrei,
>>
>> I must say that the reading is absolutely enjoyable. I do have one
>> question regarding the StackImpl example on page 234. Are you
>> forecasting
>> future functionality that arrays will support with your use of .empty,
>> .back,
>> and .popBack or am I too na�ve to understand that I need to implement
>> this
>> functionality in order for your example to compile?
>
> These functions are implemented in std.array, you only need to import
> that
> module.
Now why aren't those included by default? Sure, they're not always
necessary, but they are what makes arrays into ranges, a property that
has touted extensively.
--
Simen
More information about the Digitalmars-d
mailing list