[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 19:34:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80478
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Thu May 18 18:04:15 2017
New Revision: 248247
URL: https://gcc.gnu.org/viewcvs?rev=248247&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:
branches/gcc-7-branch/libstdc++-v3/testsuite/20_util/function_objects/mem_fn/80478.cc
Modified:
branches/gcc-7-branch/libstdc++-v3/ChangeLog
branches/gcc-7-branch/libstdc++-v3/include/std/functional
More information about the Gcc-bugs
mailing list