What does 'inline' mean?

Walter Bright newshound2 at digitalmars.com
Thu Jun 11 10:05:14 UTC 2020


On 6/10/2020 1:10 PM, kinke wrote:
> TLDR: Templates, with the current emission scheme, can definitely not be used to 
> emit a function into every referencing CU.

Yes, but in Manu's case the idea is to not need to link with a library. It's 
hard to see how the compiler would know that a template was instantiated in a 
library - meaning it'll emit an instance for at least one of the modules given 
on the command line.

That should resolve the particular issue Manu was having.


More information about the Digitalmars-d mailing list