On Tue, 31 May 2011 02:21:13 -0400, Andrej Mitrovic <[email protected]> wrote:

Why doesn't Appender overload opCatAssign? It would be almost trivial
to replace usage of existing arrays with Appender, instead of having
to replace all calls with var.put().

It should, there might already be an enhancement filed for it.


And why doesn't it overload toString? You can't print its contents to
stdout like you can with slices.

And why can't you slice an Appender?

writeln(app.data);
auto slice = app.data[2...6];

-Steve

Reply via email to