https://issues.dlang.org/show_bug.cgi?id=20046
Issue ID: 20046
Summary: someAllocator.make!T doesn't compile if T is a shared
value type
Product: D
Version: D2
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: phobos
Assignee: [email protected]
Reporter: [email protected]
e.g.
auto pi = theAllocator.make!(int)(10); // works
auto psi = theAllocator.make!(shared int)(10); // fails
Error message: template std.conv.emplaceRef cannot deduce function from
argument types !()(shared(int))
--