December 10, 2013 [Issue 8409] Proposal: implement arr.dup in library | ||||
---|---|---|---|---|
| ||||
https://d.puremagic.com/issues/show_bug.cgi?id=8409 --- Comment #2 from Kenji Hara <k.hara.pg@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: ------- |
Copyright © 1999-2021 by the D Language Foundation