On 7/15/12 6:22 PM, Mehrdad wrote:
On Sunday, 15 July 2012 at 22:03:33 UTC, Jonathan M Davis wrote:auto arr = [10, 22, 19, 4, 6]; arr = remove(arr, 3); assert(arr == [10, 22, 19, 6]);Yeah, the problem is that this reallocates...
doesn't
On 7/15/12 6:22 PM, Mehrdad wrote:
On Sunday, 15 July 2012 at 22:03:33 UTC, Jonathan M Davis wrote:auto arr = [10, 22, 19, 4, 6]; arr = remove(arr, 3); assert(arr == [10, 22, 19, 6]);Yeah, the problem is that this reallocates...
doesn't