r239205 - in /branches/gcc-5-branch/libstdc++-v...
redi@gcc.gnu.org
redi@gcc.gnu.org
Sat Aug 6 12:21:00 GMT 2016
Author: redi
Date: Sat Aug 6 12:21:42 2016
New Revision: 239205
URL: https://gcc.gnu.org/viewcvs?rev=239205&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:
branches/gcc-5-branch/libstdc++-v3/ChangeLog
branches/gcc-5-branch/libstdc++-v3/include/std/functional
branches/gcc-5-branch/libstdc++-v3/testsuite/20_util/function/cons/57465.cc
More information about the Libstdc++-cvs
mailing list