[Issue 14402] std.conv.emplace segfaults for nested class

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Apr 5 15:50:31 PDT 2015


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

--- Comment #1 from Matt Kline <mkline.on.d at gmail.com> ---
I just noticed that if you try to `new` a context-aware class or struct outside
that context, you get a nice compiler warning indicating that you cannot do so.
Can we, via template magic or something similar, issue a similar error when
trying to emplace one?

--


More information about the Digitalmars-d-bugs mailing list