Goofy code means opportunities in language design

Timon Gehr timon.gehr at gmx.ch
Thu Sep 17 14:29:51 UTC 2020


On 17.09.20 16:10, Andrei Alexandrescu wrote:
> 
> 
> These lines appear over and over in Phobos in ranges that simply want to 
> "expose source.empty to clients of this type". There should be a 
> mechanism for that, such as:
> 
>      alias empty = source.empty;

https://issues.dlang.org/show_bug.cgi?id=16123


More information about the Digitalmars-d mailing list