<div dir="auto">Clang 5 implemented the originally adopted proposal. The behaviour you're referring to was introduced by P0620R0, which I think was not implemented until Clang 6. Perhaps we should bump the deduction guides feature test macro version for that paper?</div><div class="gmail_extra"><br><div class="gmail_quote">On 28 May 2018 14:10, "Marshall Clow via cfe-dev" <<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div class="quoted-text">On Mon, May 28, 2018 at 12:51 PM, Marshall Clow <span dir="ltr"><<a href="mailto:mclow.lists@gmail.com" target="_blank" rel="noreferrer">mclow.lists@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 dir="ltr"><div>This past week, I checked in a bunch of code (and tests) having to do with the deduction guides features of C++17 - adding support for many of the standard library types. Some of the tests started failing - mostly (but not exclusively) on ARM. JF tried to fix some of the tests on Friday, but was not completely successful.</div><div><br></div><div>Today, I took a fresh look at the failures, and realized that all but one of them were on bots that were running clang-5.  It appears that clang-5 has a bug where it mis-deduces the template arguments when it is handed something that looks like a copy constructor. (Alternately, it implicitly generates an incorrect template deduction guide and uses that.)</div></div></blockquote><div><br></div></div><div>Another possible diagnosis is that clang-5 generates no implicit deduction guides - and only uses the explicitly provided ones.</div><div class="signature-text"><div><br></div><div>-- Marshall</div></div></div></div></div><div class="elided-text">
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org" target="_blank" rel="noreferrer">cfe-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
</div></blockquote></div><br></div>