D import idiom compilation time

Nick Treleaven nick at geany.org
Tue Jan 8 18:03:05 UTC 2019


On Monday, 7 January 2019 at 21:50:20 UTC, Andrei Alexandrescu 
wrote:
> the presence of "from" in documentation would be awkward. So I 
> suggest the glorious hack:
>
> alias std = from.std;

Apart from compiler overhead, this seems to make `static import` 
redundant.


More information about the Digitalmars-d mailing list