[Bug libstdc++/80064] [7 Regression] _Iter_cmp_iter instantiates bogus type
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 16 11:09:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80064
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |ASSIGNED
Last reconfirmed| |2017-03-16
Resolution|INVALID |---
Ever confirmed|0 |1
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Re-opening because we can make it work fairly easily, by using the decayed type
instead of the original Compare type, i.e.
struct wrapper {
__decltype(comp) cmp;
} wrapped_comp = { comp };
More information about the Gcc-bugs
mailing list