std.experimental.alloctor does not work with non default constructible types
Andrei Alexandrescu via Digitalmars-d
digitalmars-d at puremagic.com
Fri Jun 3 05:42:56 PDT 2016
On 6/3/16 8:24 AM, maik klein wrote:
> Thanks, I opened an issue here
> https://issues.dlang.org/show_bug.cgi?id=16117
>
> I just used makeArray because it was just so convenient to use but I
> guess I could also switch to the untyped interface if this proves to be
> a blocker.
Great, thanks. That seems to point at an issue in emplace. Surprisingly
this recent work by Walter should be able to help:
https://github.com/dlang/dmd/pull/5830. It makes "union" essentially a
pure layout design tool. -- Andrei
More information about the Digitalmars-d
mailing list