Thread overview |
---|
January 11, 2018 calloc for std.experimental.allocator | ||||
---|---|---|---|---|
| ||||
Is there no equivalent of `calloc()` for `std.experimental.allocator`, something like Allocator.zeroAllocate(size_t numberOfElements) ? |
January 11, 2018 Re: calloc for std.experimental.allocator | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nordlöw | On Thursday, 11 January 2018 at 21:09:01 UTC, Nordlöw wrote: > Is there no equivalent of `calloc()` for `std.experimental.allocator`, something like > > Allocator.zeroAllocate(size_t numberOfElements) > > ? http://dpldocs.info/experimental-docs/std.experimental.allocator.makeArray.4.html |
January 12, 2018 Re: calloc for std.experimental.allocator | ||||
---|---|---|---|---|
| ||||
Posted in reply to MrSmith | On Thursday, 11 January 2018 at 21:57:28 UTC, MrSmith wrote:
> http://dpldocs.info/experimental-docs/std.experimental.allocator.makeArray.4.html
Thanks!
|
Copyright © 1999-2021 by the D Language Foundation