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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |6.0

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Fixed at r232504

Fix construction of std::function from null pointer-to-member

        PR libstdc++/69243
        * 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.

Reply via email to