On 28/12/2019 4:30 PM, Adam D. Ruppe wrote:
On Saturday, 28 December 2019 at 03:08:48 UTC, BoraxMan wrote:
For the line "Writeln(w[]);" GDC reports "error: no [] operator
overload for type Appender!string".
I think that is just a broken example. Pretty sure it should be `w.data`
instead of `w
On Tuesday, 19 November 2019 at 00:56:33 UTC, Matthias Klumpp
wrote:
On Tuesday, 29 October 2019 at 13:23:33 UTC, Daniel Kozak wrote:
On Thursday, 24 October 2019 at 11:05:21 UTC, Daniel Kozak
wrote:
ld: c.o: in function `_DT16_D1b1B8__mixin24getSMFZPv':
c.d:(.text+0x27): multiple definition o
The example for appender located here, does not compile with GDC.
https://dlang.org/library/std/array/appender.html
void main()
{
import std.array;
import std.stdio: write, writeln, writef, writefln;
auto w = appender!string;
// pre-allocate space for at least 10 elements (this a