This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/65760] invalid use of incomplete type with std::is_convertible<C, C>
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 29 Apr 2015 16:08:19 +0000
- Subject: [Bug libstdc++/65760] invalid use of incomplete type with std::is_convertible<C, C>
- Auto-submitted: auto-generated
- References: <bug-65760-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65760
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Wed Apr 29 16:07:47 2015
New Revision: 222581
URL: https://gcc.gnu.org/viewcvs?rev=222581&root=gcc&view=rev
Log:
PR libstdc++/65760
* include/std/functional (__check_func_return_type): Use is_same to
avoid using _is_convertible on incomplete types.
* testsuite/20_util/function/65760.cc: New.
Added:
trunk/libstdc++-v3/testsuite/20_util/function/65760.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/std/functional