<div dir="ltr">Hi Katsuhiko,<div><br></div><div>This is indeed a libc++ bug. Thank you for reporting it.</div><div><br></div><div>I have filed an actual bug report here: <a href="https://bugs.llvm.org/show_bug.cgi?id=32097">https://bugs.llvm.org/show_bug.cgi?id=32097</a></div><div><br></div><div>/Eric</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 24, 2017 at 4:29 AM, Katsuhiko Nishimra via cfe-dev <span dir="ltr"><<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear developers,<br>
<br>
I've run into strange behavior around std::is_abstract from libc++.<br>
It off course returns true for classes with pure virtual functions, but<br>
returns false for class templates with pure virtual functions. I'm<br>
attaching a test code for the behavior. I tested on Debian with package<br>
libc++-dev 3.9.1-2 and both clang-3.8 3.8.1-17 and clang-3.9.1-4.<br>
<br>
I have little knowledge about C++ standards, but is this behavior<br>
compliant with the standards?<br>
<br>
FWIW, std::is_abstract from libstdc++ returns true for both cases.<br>
<br>______________________________<wbr>_________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div><br></div>