Hi,

A moment ago I was reading a reply to one of my posts, and noticed Artur Skawina did this:

void main(string argv[]) {
   import std.string;
...

I didn't know D allowed importing modules from a function.
Now, my question is: what is the advantage of this over importing the regular way?

Regards, Hugo

Reply via email to