[Issue 17415] std.conv.emplace does not forward arguments correctly

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Oct 4 13:24:48 UTC 2017


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

--- Comment #2 from Eduard Staniloiu <edi33416 at gmail.com> ---
I might be wrong, but since you are disabling the postblit wouldn't you want to
define the class ctor as:

class C
{
    this(const ref S) { /* magic */ }
}

--


More information about the Digitalmars-d-bugs mailing list