Class allocators

Per Nordlöw per.nordlow at gmail.com
Sun Nov 12 18:46:54 UTC 2017


On Sunday, 12 November 2017 at 18:34:42 UTC, Eduard Staniloiu 
wrote:
> On Saturday, 11 November 2017 at 14:26:34 UTC, Nordlöw wrote:
>> Have anybody used allocators to construct class instances?
>
> I might be wrong, but I think you are looking for 
> std.experimental.allocator.make [0]
>
> [0] - 
> https://dlang.org/phobos/std_experimental_allocator.html#make

Thanks!

In the example the classes are declared as static. What effect 
does this have here and is it required for classes allocated via 
make?


More information about the Digitalmars-d-learn mailing list