calloc for std.experimental.allocator

MrSmith mrsmith33 at yandex.ru
Thu Jan 11 21:57:28 UTC 2018


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


More information about the Digitalmars-d-learn mailing list