new should lower to a template function call

Ogi ogion.art at gmail.com
Fri Jul 24 08:24:17 UTC 2020


On Friday, 24 July 2020 at 03:29:14 UTC, Andrei Alexandrescu 
wrote:
> As far as I know there's little use of allocators, which is 
> unlike C++ where there's a lot of excitement around them in 
> spite of a much scarcer API. I recall there's a little use of 
> allocators (copied to code.dlang.org and improved) in Mir. Not 
> much else I've heard of.

There’s emsi-containers library [1]. Also, allocators are used in 
vibe.d in the form of dub package [2].

[1] https://github.com/dlang-community/containers
[2] https://github.com/vibe-d/vibe.d/pull/1983


More information about the Digitalmars-d mailing list