new should lower to a template function call

Andre Pany andre at s-e-a-p.de
Fri Jul 24 08:53:15 UTC 2020


On Friday, 24 July 2020 at 08:24:17 UTC, Ogi wrote:
> 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

Also libdparse and DScanner is using stdx-allocator. Dub-registry 
is showing only dependencies but unfortunately not "where used".

Kind regards
Andre


More information about the Digitalmars-d mailing list