On Sunday, 16 April 2017 at 18:36:30 UTC, Jerry wrote:
I wouldn't really call them RAII containers if they aren't @nogc

Moving the goal posts again. Even still,

void main() @nogc
{
    Array!int ai;
    ai ~= 1;
    assert(ai.front == 1);

    ai.reserve(10);
    assert(ai.capacity == 10);

    static immutable arr = [1, 2, 3];
    ai.insertBack(arr);
}

Reply via email to