This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/66284] std::reference_wrapper is transparent to std::function::target_type


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66284

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Thu Jan 12 14:28:38 2017
New Revision: 244364

URL: https://gcc.gnu.org/viewcvs?rev=244364&root=gcc&view=rev
Log:
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.

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]