[Issue 8409] Proposal: implement arr.dup in library
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Dec 9 17:27:22 PST 2013
https://d.puremagic.com/issues/show_bug.cgi?id=8409
--- Comment #2 from Kenji Hara <k.hara.pg at gmail.com> 2013-12-09 17:27:19 PST ---
A new definition of library dup function, by using issue 6930.
inout(E)[] dup(E)(const(inout(E))[] arr) pure;
'inout const E' is not implicitly convertible to 'inout E', so the returned
value is isolated from the given argument.
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list