https://issues.dlang.org/show_bug.cgi?id=15677
Issue ID: 15677 Summary: std.experimental.allocators.expandArray overload with init should take the array by ref. Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: minor Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: qas...@gmail.com All other overloads of std.experimental.allocators.expandArray take an array by reference and modify the given array to allow the caller to use the expanded array. It should be the same for the overload which takes init value, but it looks like that someone forgot to put the ref modifier there. --