Paralysis of analysis
Bruno Medeiros
brunodomedeiros+spam at com.gmail
Thu Jan 27 08:25:36 PST 2011
On 14/12/2010 19:30, Andrei Alexandrescu wrote:
> On 12/14/10 1:19 PM, so wrote:
>> Could you please elaborate the disadvantages part?
>>
>> Thanks!
>
>
> Whatever empty() does, it must be called against an already-allocated
> reference to an Array.
>
Phew... That seems quite acceptable. For a moment, when I read your
original words:
"- Containers must be dynamically allocated to do anything - even
calling empty requires allocation. "
it almost reads as you saying that any and each call to empty requires
an allocation... :S
--
Bruno Medeiros - Software Engineer
More information about the Digitalmars-d
mailing list