proposal: improved import declaration
davidl
davidl at 126.com
Wed May 30 05:08:40 PDT 2007
wait till macro is available
> Hi!
>
> The proposal is to allow writing:
>
> import <module-root>.{<name>[,<name>...]};
>
> For example, instead of:
>
> import tango.io.Console;
> import tango.io.Conduit;
> import tango.io.FilePath;
> import tango.io.FileSystem;
> import tango.io.Stdout;
>
> simply write:
>
> import tango.io.{Console, Conduit, FilePath, FileSystem, Stdout};
>
--
使用 Opera 革命性的电子邮件客户程序: http://www.opera.com/mail/
More information about the Digitalmars-d
mailing list