Short article on std.parallism
Steven Schveighoffer
schveiguy at yahoo.com
Tue May 31 11:14:11 PDT 2011
On Tue, 31 May 2011 02:21:13 -0400, Andrej Mitrovic
<andrej.mitrovich at gmail.com> 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
More information about the Digitalmars-d-announce
mailing list