Object.factory() and exe file size bloat

Johannes Pfau via Digitalmars-d digitalmars-d at puremagic.com
Sat Aug 22 02:33:57 PDT 2015

Am Fri, 21 Aug 2015 15:16:01 +0200
schrieb Iain Buclaw via Digitalmars-d <digitalmars-d at puremagic.com>:

> Other than that, the semantics of pragma(inline, true) should
> guarantee that the function is never *written* to object file.

This really should be documented then. If we build a shared library
with pragma(inline) functions not emitting the function prevents taking
the address of that function in all client code. As this is a breaking
change to 'normal' inline semantics it needs to be documented.


More information about the Digitalmars-d mailing list