Proposal for Deimos documentation

Jacob Carlborg doob at me.com
Fri Mar 22 05:15:25 PDT 2013


On 2013-03-22 11:53, Jens Mueller wrote:

> True. But shouldn't you fix those things as follows:
>
> module deimos.a;
> int a;
>
> (BTW Probably we should add shared here?)

__gshared.

> module deimos.b;
> public import deimos.a; // shouldn't this fix the problem
>
> Does this work?
> Should I add text about when to use public imports?

It would work but I think this is bad practice. I would hate that to 
happened with every C binding. I love that D imports are _not_ public.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list