https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69293
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> --- Author: redi Date: Mon Jan 18 11:43:37 2016 New Revision: 232504 URL: https://gcc.gnu.org/viewcvs?rev=232504&root=gcc&view=rev Log: Fix construction of std::function from null pointer-to-member PR libstdc++/69293 * include/std/functional (_Function_base::_M_not_empty_function): Change overloads for pointers to take arguments by value. * testsuite/20_util/function/cons/57465.cc: Add tests for pointer-to-member cases. Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/include/std/functional trunk/libstdc++-v3/testsuite/20_util/function/cons/57465.cc