Errors - Re: Signals and Slots

Chris Nicholson-Sauls ibisbasenji at gmail.com
Thu Nov 2 12:46:03 PST 2006


Walter Bright wrote:
> The fix is straightforward, in std\signals.d just make the imports public:
> 
>> public import std.stdio;
>> public import std.c.stdlib;
>> public import std.outofmemory;

Maybe instead, it should be something like this?
# public static import signals_stdio = std.stdio;
# public static import signals_c_stdlib = std.c.stdlib;
# public static import signals_outofmemory = std.outofmemory;

These are modules that user modules are plenty likely not to want in their namespace, so 
it would be good to put a little indirection like this in place.  Just two cents.

-- Chris Nicholson-Sauls



More information about the Digitalmars-d mailing list