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

--- Comment #2 from Andrei Alexandrescu <and...@erdani.com> ---
Good point. Should work if the constructor is passed some argument:

import std.experimental.allocator;
struct Foo{
    @disable this();
    this(int) {}
}
auto foos = theAllocator.makeArray!Foo(100, 42);

--

Reply via email to