Proposal for Deimos documentation

Jacob Carlborg doob at me.com
Thu Mar 21 03:00:31 PDT 2013


On 2013-03-21 07:59, 1100110 wrote:

> """
> In particular,
>
>      Replace C's include
>
>      Each #include needs to have a corresponding import path.to.header;
> """
>
> That has certainly not been my experience.  Often one D import will map
> to a couple of c includes.
>
> I would suggest amending that statement.  It sounds too much like a hard
> rule(necessary to be considered for inclusion into Deimos) to me.  YMMV.

I would say that each #include should have _at least_ one corresponding 
import. Then there could be additional imports as well.

Sure, there could be unnecessary includes but that's not very likely.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list