Memory Allocation

Enigma via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Mar 29 16:01:12 PDT 2017


On Wednesday, 29 March 2017 at 21:36:14 UTC, Petar Kirov 
[ZombineDev] wrote:
> On Wednesday, 29 March 2017 at 19:19:48 UTC, Enigma wrote:
>> [...]
>
> It looks like you are looking for this: 
> http://dlang.org/phobos-prerelease/std_experimental_allocator_building_blocks_region.html.

But these seem to require passing a mallocator. I simply want to 
pass an already allocated region/block/buffer and have the 
allocators use it. I will allocate and free on my own.


More information about the Digitalmars-d-learn mailing list