[Issue 21709] std.conv.emplace not usable in betterC - 2.096 beta

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Mar 13 16:27:01 UTC 2021


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

--- Comment #1 from mmcomando at gmail.com ---
I was told that this code reproduces the issue:
import std.conv : emplace;

struct AA
{
   ~this()
   {
   }
}

extern(C) void main()
{
   AA aa;
   emplace(&aa, AA.init);
}

--


More information about the Digitalmars-d-bugs mailing list