On Tuesday, 1 October 2013 at 03:01:32 UTC, evilrat wrote:
AFAIK people rarely use interface files this days, one reason
is templates which needs instantiated in ur code but it won't
be able to put them in interface files.
(though i may be wrong on it)
The interface file needs the entire template implementation, i.e.
not the interface.
The -H flag generates the "header files" .di If you are wanting
this to hide implementation you'll have better luck writing them
by hand. No compiler is checking if .di and .d files match.
D doesn't distinguish between .di or .d so you can use the -I
flag on directories listing either.