[Bug libstdc++/79798] [7 Regression] std::bind loses cv-qualifiers in result_of type
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 2 03:44:00 GMT 2017
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
More information about the Gcc-bugs
mailing list