what's the difference between 'static import =' and 'import ='?

Jari-Matti Mäkelä Jari-Matti_member at pathlink.com
Wed Jul 19 05:18:45 PDT 2006


In article <e9l4se$1789$1 at digitaldaemon.com>, Tyro says...

>The compiler already knows how to find std.string and it can decipher 
>whether or not a requested functionality is implemented in the module. 
>Therefore it should be smart enough to *implicitly* import that 
>function/module using FQNs alone.

Yes, I believe we all understand this. But as JJR already said it quite well, I
think the import issues are solved for now. An explicit import statement is more
self documenting and it's helping tools like Build and IDE's with the name
lookup.

-- 
Jari-Matti





More information about the Digitalmars-d-learn mailing list