[Bug c++/66999] Missing comma in lambda capture causes internal compiler error
sshannin at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Feb 5 14:50:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66999
sshannin at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sshannin at gmail dot com
--- Comment #1 from sshannin at gmail dot com ---
Confirmed still present in gcc 5.3.0.
I got a smaller example with a slightly different flavor if it helps:
---
#include <functional>
struct foo {
void bar() {
std::function<void()> f = std::function<void()>(
[&this]() {
int x;
});
}
};
More information about the Gcc-bugs
mailing list