This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/65760] invalid use of incomplete type with std::is_convertible<C, C>


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]