PR66284 remove std::function special case for reference_wrapper
authorJonathan Wakely <jwakely@redhat.com>
Thu, 12 Jan 2017 14:28:38 +0000 (14:28 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 12 Jan 2017 14:28:38 +0000 (14:28 +0000)
commit4704f28e7a59c82fab92109ac6f22e3b14a0344b
treed66b26bae166881b8425aeef3d95bc46531aab1d
parent872fc7b53d4b2540b50c905fcfca78dcd9bf2ccb
PR66284 remove std::function special case for reference_wrapper

PR libstdc++/66284
* doc/xml/manual/intro.xml: Document LWG 2781 change.
* doc/html/*: Regenerate.
* include/std/functional (_Function_base::_Ref_manager): Remove.
(_Function_handler): Remove partial specializations for
reference_wrapper.
(function::target): Remove special case for const qualification.
* testsuite/20_util/function/6.cc: Adjust tests for target type.
* testsuite/20_util/function/7.cc: Likewise.
* testsuite/20_util/function/8.cc: Likewise.

From-SVN: r244364
libstdc++-v3/ChangeLog
libstdc++-v3/doc/html/manual/bugs.html
libstdc++-v3/doc/html/manual/documentation_hacking.html
libstdc++-v3/doc/xml/manual/intro.xml
libstdc++-v3/include/bits/std_function.h
libstdc++-v3/testsuite/20_util/function/6.cc
libstdc++-v3/testsuite/20_util/function/7.cc
libstdc++-v3/testsuite/20_util/function/8.cc