[Bug libstdc++/80478] Calling `std::bind` on member functions marked as `noexcept` fails to compile with -std=c++1z

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 18 18:04:00 GMT 2017


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


More information about the Gcc-bugs mailing list