https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79798
Jonathan Wakely changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79798
--- Comment #2 from Jonathan Wakely ---
Author: redi
Date: Thu Mar 2 03:43:36 2017
New Revision: 245827
URL: https://gcc.gnu.org/viewcvs?rev=245827=gcc=rev
Log:
PR 79798 Fix incorrect use of std::result_of in std::bind
PR
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79798
--- Comment #1 from Jonathan Wakely ---
We need to add && to the arg types in the result_of argument, so that top-level
cv qualifiers aren't lost in the function type that result_of requires us to
use:
--- a/libstdc++-v3/include/std/functional