How can I compile this?

Dawid Ciężarkiewicz dawid.ciezarkiewicz at
Sat Oct 14 14:31:03 PDT 2006

rm wrote:

> Lars Ivar Igesund wrote:
>> rm wrote:
>>> even more, all your import are plain imports :-)
>>> you'd better use "private import ..."

I tried. Didn't help.

>>> that prevents symbols imported in a module for it's internal
>>> implementation to leak through to other modules.
>> Imports are private by default, now.
> thx, and making them public?
> public import std.stdio; ???

Using public makes them public. :)

I use public imports almost only when class is derived from other class.
Module that want to use new features of child will probably want to use old
ones from it's parent.

More information about the Digitalmars-d-learn mailing list