[Bug libstdc++/65760] invalid use of incomplete type with std::is_convertible<C, C>
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Apr 29 16:08:00 GMT 2015
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
More information about the Gcc-bugs
mailing list