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++/80478] Calling `std::bind` on member functions marked as `noexcept` fails to compile with -std=c++1z


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80478

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Thu May 18 17:32:06 2017
New Revision: 248245

URL: https://gcc.gnu.org/viewcvs?rev=248245&root=gcc&view=rev
Log:
PR libstdc++/80478 make std::mem_fn work with noexcept functions

        PR libstdc++/80478
        * include/std/functional (_Mem_fn_traits_base): Add specializations
        for noexcept member function types.
        * testsuite/20_util/function_objects/mem_fn/80478.cc: New test.

Added:
    trunk/libstdc++-v3/testsuite/20_util/function_objects/mem_fn/80478.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]