Pathological import symbol shadowing

FeepingCreature feepingcreature at
Thu Nov 19 09:07:53 UTC 2020

On Wednesday, 18 November 2020 at 21:13:00 UTC, Kagamin wrote:
> On Wednesday, 18 November 2020 at 10:14:44 UTC, FeepingCreature 
> wrote:
>> This is why our style guide doesn't allow unqualified imports 
>> in functions. The more I think about it, the more I suspect 
>> function local imports were just a mistake to begin with.
> No way, they are correctness and performance feature. Look at 
> STL to see what happens when everything is visible.

I think the problem with C++ is more transitive imports than 
file-level imports. Or rather, the lack of a module system.

More information about the Digitalmars-d mailing list