public imports

Max Samukha samukha at voliacable.com
Sun Mar 4 13:31:25 PST 2007


On Sun, 04 Mar 2007 16:10:55 -0500, Thorsten Kiefer
<thorstenkiefer at gmx.de> wrote:

>Hi,
>is it possible that if I import a module,then I import that module's imports also ?
>E.g.:
>
>// test.d
>module test;
>import std.stdio;
>
>//main.d
>import test;
>...writefln...
>


// test.d
module test;
public import std.stdio;

//main.d
import test;
...writefln...



More information about the Digitalmars-d mailing list