digitalmars.D.bugs - [Issue 19085] New: std.experimental.allocator.makeArray should work
- d-bugmail puremagic.com (24/24) Jul 13 2018 https://issues.dlang.org/show_bug.cgi?id=19085
https://issues.dlang.org/show_bug.cgi?id=19085 Issue ID: 19085 Summary: std.experimental.allocator.makeArray should work with void Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: phobos Assignee: nobody puremagic.com Reporter: john.loughran.colvin gmail.com As the title says, for generic code to work nicely makeArray should work to make a void[], currently you get std/experimental/allocator/package.d(1494,11): Error: variable `std.experimental.allocator.uninitializedFillDefault!void.uninitializedFillDefault.t` variables cannot be of type void std/experimental/allocator/package.d(1494,15): Error: void does not have a default initializer std/experimental/allocator/package.d(1580,71): Error: template instance `std.experimental.allocator.uninitializedFillDefault!void` error instantiating --
Jul 13 2018