What's the current state of the art for module compilation?
Walter Bright
newshound2 at digitalmars.com
Thu Nov 19 05:56:30 UTC 2026
On 11/18/2026 7:20 PM, monkyyy wrote:
> would just be false for anything I write, cause templates. Im sure bits and
> pieces are all in there, but do we actually have anywhere that attempts to
> explain linking vs templates?
You can do self-contained templates in .di files, but if they reference things
that don't exist in the template or the symbols in scope, it will never work.
It works the same way that macros work in .h files.
More information about the Digitalmars-d
mailing list