Design with appender: good or bad?

monarch_dodra monarchdodra at gmail.com
Thu Apr 10 07:16:49 PDT 2014


On Thursday, 10 April 2014 at 13:57:26 UTC, Chris wrote:
> The funny thing, though, is that after clearing buf
>
> writeln(data1[0]);
>
> still prints "World1". It only changes after I add a new item 
> to buf.

clear doesn't actually "clear" in the "wipe" sense of the word.
It only means that the data is considered "not interesting", and
free for overwrite.


More information about the Digitalmars-d-learn mailing list