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

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Thu Mar  2 03:43:36 2017
New Revision: 245827

URL: https://gcc.gnu.org/viewcvs?rev=245827&root=gcc&view=rev
Log:
PR 79798 Fix incorrect use of std::result_of in std::bind

        PR libstdc++/79798
        * include/std/functional (bind::_Res_type_impl): Fix incorrect use of
        result_of that loses top-level cv-qualifiers.
        * testsuite/20_util/bind/79798.cc: New test.

Added:
    trunk/libstdc++-v3/testsuite/20_util/bind/79798.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/std/functional

Reply via email to