re PR libstdc++/48541 (std::function(std::_Function_base) should use std::addressof)
authorJonathan Wakely <jwakely.gcc@gmail.com>
Sun, 10 Apr 2011 16:35:58 +0000 (16:35 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Sun, 10 Apr 2011 16:35:58 +0000 (17:35 +0100)
commit3e49fb03796af407ddfa41e6ab76e4787d349018
tree4430596b5d7f9a20c9ab537305441dd639b8f66a
parent07703a378555c1bd8a95af39e345fc557a6fdc9b
re PR libstdc++/48541 (std::function(std::_Function_base) should use std::addressof)

2011-04-10  Jonathan Wakely  <jwakely.gcc@gmail.com>

PR libstdc++/48541
* include/std/functional (_Base_manager::_M_get_pointer): Use
addressof.
* testsuite/20_util/function/48541.cc: New.

From-SVN: r172244
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/functional
libstdc++-v3/testsuite/20_util/function/48541.cc [new file with mode: 0644]