What does 'inline' mean?
kinke
kinke at gmx.net
Mon Jun 8 16:01:17 UTC 2020
On Monday, 8 June 2020 at 14:22:50 UTC, Manu wrote:
> Templates work correctly; template instances are only generated
> and emit to the calling CU.
Nope - they *might* be emitted into the instantiating module, but
very likely aren't. Just try compiling a static lib with multiple
modules instantiating equivalent templates. See
https://github.com/ldc-developers/ldc/pull/3422#issuecomment-625945508 for an example.
More information about the Digitalmars-d
mailing list