No we should not support enum types derived from strings

Paul Backus snarwin at gmail.com
Tue May 11 14:38:53 UTC 2021


On Tuesday, 11 May 2021 at 13:41:53 UTC, Andrei Alexandrescu 
wrote:
>
> True, D has only "orphan" ranges, no containers. std.container 
> is not working out and with current D technology we can't 
> define containers that work with safe/pure/nogc at the same 
> time (two out of three we can).

How much value does pure have here anyway? Typical container 
usage involves allocating from the global (!) heap, which 
arguably *should* be impure, hacks like `pureMalloc` 
notwithstanding.


More information about the Digitalmars-d mailing list