digitalmars.D - public imports
- Thorsten Kiefer (9/9) Mar 04 2007 Hi,
- Max Samukha (8/17) Mar 04 2007 // test.d
- Frits van Bommel (2/13) Mar 04 2007 Ahem.. it's practically in the subject line: "public import std.stdio;" ...
- =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= (5/9) Mar 04 2007 Also if you find/read old D code, be aware that the default option
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...
Mar 04 2007
On Sun, 04 Mar 2007 16:10:55 -0500, Thorsten Kiefer <thorstenkiefer 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...
Mar 04 2007
Thorsten Kiefer 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...Ahem.. it's practically in the subject line: "public import std.stdio;" :)
Mar 04 2007
Frits van Bommel wrote:Also if you find/read old D code, be aware that the default option for imports changed from "public" over to "private" with DMD 0.163... http://www.digitalmars.com/d/changelog2.html#new0163 --andersis it possible that if I import a module,then I import that module's imports also ?Ahem.. it's practically in the subject line: "public import std.stdio;" :)
Mar 04 2007