https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85118
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
Status|UNCONFIRMED |NEW
Known to work| |5.5.0
Keywords| |rejects-valid
Last reconfirmed| |2018-03-29
Ever confirmed|0 |1
Summary|Error when using std::bind |[6/7/8 Regression] Error
|with a generic lambda - |when using std::bind with a
|"cannot bind 'const |generic lambda - "cannot
|volatile char&' to an |bind 'const volatile char&'
|rvalue of type 'const |to an rvalue of type 'const
|volatile char'" |volatile char'"
Target Milestone|--- |6.5
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
clang accepts it as well.