diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2016-08-05 10:00:34 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2016-08-05 10:00:34 +0100 |
commit | 98e6e662332b75149288e6f1e1171e0b131a8981 (patch) | |
tree | e80aba6d88bc64cc6ae74dbed81b236ba8fc54d8 /libstdc++-v3/ChangeLog | |
parent | db7c335e162876b4c5e3e9e0b5e48ea5febda798 (diff) | |
download | gcc-98e6e662332b75149288e6f1e1171e0b131a8981.zip gcc-98e6e662332b75149288e6f1e1171e0b131a8981.tar.gz gcc-98e6e662332b75149288e6f1e1171e0b131a8981.tar.bz2 |
Use __invoke in std::function internals
* include/std/functional (__callable_functor): Remove.
(_Function_handler::_M_invoke): Use __invoke instead of
__callable_functor or mem_fn.
(function::_Callable): Use lvalue in result_of expression.
(function): Remove TODO comments about allocators.
* testsuite/20_util/function/cons/refqual.cc: New test.
From-SVN: r239166
Diffstat (limited to 'libstdc++-v3/ChangeLog')
-rw-r--r-- | libstdc++-v3/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 5c4bb5c..c6df8ab 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,12 @@ +2016-08-05 Jonathan Wakely <jwakely@redhat.com> + + * include/std/functional (__callable_functor): Remove. + (_Function_handler::_M_invoke): Use __invoke instead of + __callable_functor or mem_fn. + (function::_Callable): Use lvalue in result_of expression. + (function): Remove TODO comments about allocators. + * testsuite/20_util/function/cons/refqual.cc: New test. + 2016-08-04 Jonathan Wakely <jwakely@redhat.com> * doc/xml/manual/status_cxx2017.xml: Update status table. |