[Issue 18167] std.array.appender should be usable in @safe

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jan 3 03:15:30 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=18167

--- Comment #1 from Seb <greensunny12 at gmail.com> ---
Another example:

void test @safe {

    static class A {}
    auto w = appender!(shared(A)[])();
    w.put(new shared A());

}

--


More information about the Digitalmars-d-bugs mailing list