How are (Static) Libraries with Templates Compiled?

Jacob Carlborg doob at me.com
Tue Mar 12 10:37:41 UTC 2019


On 2019-03-11 21:59, jmh530 wrote:

> Ah, so you need the .lib files and the .di files to get it work.

You need the .di or .d files regardless if it's a template or not. 
Because you need to know which declarations are available. In addition 
to that, for templates the source (and not just the declaration) need to 
be present as well in the .di/.d files.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list