Phobos in BetterC

Laeeth Isharc laeeth at laeeth.com
Sat Mar 9 11:53:37 UTC 2019


On Friday, 8 March 2019 at 09:24:25 UTC, Vasyl Teliman wrote:
> I've tried to use Mallocator in BetterC but it seems it's not 
> available there:
>
> https://run.dlang.io/is/pp3HDq
>
> This produces a linker error.
>
> I'm wondering why Mallocator is not available in this mode (it 
> would be intuitive to assume that it's working). Also I would 
> like to know what parts of Phobos are available there (e.g. 
> std.traits, std.typecons...).
>
> Thanks in advance.

I would guess it's not available because it was written before 
betterC mode was a thing and nobody has yet updated it.

If you look at spasm on code.dlang.org there is a version you can 
copy paste that should work in betterC mode if I remember 
correctly.



More information about the Digitalmars-d-learn mailing list