assume, assert, enforce, @safe
Johannes Pfau via Digitalmars-d
digitalmars-d at puremagic.com
Fri Aug 1 03:38:09 PDT 2014
Am Fri, 01 Aug 2014 07:01:48 +0000
schrieb "Jonathan M Davis" <jmdavisProg at gmx.com>:
> Since all template instantiations must happen when you compile
> your program rather than in any libraries you're linking against,
> why would it matter? If you compile your program without
That's not true, template instances emit weak symbols. If you link
against a compiled library which also has instantiated the same
templates this library provides the same weak symbols. Which symbols are
actually used in the final executable is up to the linker and not
standardized.
More information about the Digitalmars-d
mailing list