On Thu, Aug 12, 2010 at 9:27 PM, <span dir="ltr"><<a href="mailto:scooter.phd@gmail.com">scooter.phd@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
C++ template instantiations are exported as weak linker symbols. It's just that the linker elides all of the implementations.</blockquote><div><br></div><div>Yes and dead code elimination should also be able to get rid of much of the code duplication even before it reaches the linker.</div>
<div><br></div></div>