<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, May 30, 2014 at 3:42 PM, Nico Rieck <span dir="ltr"><<a href="mailto:nico.rieck@gmail.com" target="_blank">nico.rieck@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 30.05.2014 23:58, Richard Smith wrote:<br>
> "what linkage would MSVC give to an explicit specialization of a function<br>
> template under normal circumstances (no dllimport/dllexport attributes)?<br>
> Does it treat them as mergeable, like an inline function, or as a strong<br>
> definition?"<br>
<br>
</div>They get strong linkage.<br></blockquote><div><br></div><div>OK, then it would seem wrong to treat them as being implicitly inline. It seems that CodeGen (or one of the GVALinkage-related properties it asks the ASTContext about) should detect dllimport explicit specializations, instead, more like your original patch did. But I don't see that this should be at all linked with the ABI -- it seems to be just a weird quirk of the dllimport attribute?</div>
</div></div></div>