[Issue 5522] std.range.zip fails on arrays of Object.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun May 1 03:57:41 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=5522



--- Comment #1 from kennytm at gmail.com 2011-05-01 03:53:49 PDT ---
Created an attachment (id=956)
Patch std.conv to allow  emplace(ClassType* addr, [ClassType obj])

The problem is std.conv.emplace cannot emplace a class-object T into a T*
pointer, which is explicitly filtered out in several specializations. I don't
know why. Here is a patch which simply add the required specializations. (I
have not throughoutly checked if it breaks any unittests other than std.conv.)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list