diff options
author | redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-10-29 18:38:31 +0000 |
---|---|---|
committer | redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-10-29 18:38:31 +0000 |
commit | 1ceb3fa7741ad071994a33267270f8d705766d84 (patch) | |
tree | 70692bd39fb1147ca91c39c52dea645106e83937 /gcc/config/aarch64 | |
parent | a5118bd7288ed49f405424a184c784f86dd940b6 (diff) | |
download | gcc-1ceb3fa7741ad071994a33267270f8d705766d84.tar.gz |
Use perfect forwarding in std::function invokers.
* include/std/functional: (_Function_base::_Function_base()): Use
nullptr instead of literal zero.
(function::operator=(nullptr_t)): Likewise.
(_Function_handler::_M_invoke): Use perfect forwarding for _ArgTypes.
(function::_Invoker_type): Likewise.
* testsuite/20_util/function/invoke/forwarding.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216849 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/aarch64')
0 files changed, 0 insertions, 0 deletions