<div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 28, 2019 at 9:01 AM via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Please consider the example here:<br>
<br>
<a href="https://godbolt.org/z/4AwrXz" rel="noreferrer" target="_blank">https://godbolt.org/z/4AwrXz</a><br>
<br>
Clang up to version 3.9.1 and all recent versions of other compilers accept the code. Clang version >=4.0 fails.<br>
If you move the definition of AccessorPointersT to Foo, it works again and the partial specialization is deduced correctly.<br>
Is this a bug or a pedantic interpretation of the c++ standard by clang?<br></blockquote><div>I am guessing it is a bug having to do with the template from whose specialization's arguments we should deduce from being dependent.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
<br>
Best Olaf<br>
<br>
-- <br>
Deutsches Zentrum für Luft- und Raumfahrt (DLR)<br>
<br>
Institut für Softwaremethoden zur Produkt-Virtualisierung | SP DD |<br>
Zwickauer Strasse 46 | 01069 Dresden<br>
<br>
<br>
Dr. Olaf Krzikalla | Hochleistungsrechnen<br>
Telefon +49 351 210718 119 | <a href="mailto:olaf.krzikalla@dlr.de" target="_blank">olaf.krzikalla@dlr.de</a><br>
<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
</blockquote></div></div>