Is this expected?:
```
import std.stdio;
import std.algorithm;
import std.array;
void main()
{
auto d = Appender!string();
//auto d = appender!string(); // works
string[] arr = ["foo", "bar", "baz"];
arr.joiner("\n").copy(d);
writeln(d.data);
}
```
Using Appender outpust no
On Wednesday, 13 March 2019 at 13:03:27 UTC, tchaloupka wrote:
Is this expected?:
```
import std.stdio;
import std.algorithm;
import std.array;
void main()
{
auto d = Appender!string();
//auto d = appender!string(); // works
string[] arr = ["foo", "bar", "baz"];
arr.joiner("\n"
On Wednesday, 13 March 2019 at 13:03:27 UTC, tchaloupka wrote:
Is this expected?:
You never called the constructor, which means it was lazy
initialized... but that was done inside one of the functions,
which received the Appender by value.
So when it set its internal pointer, it was inside