http://llvm.org/bugs/show_bug.cgi?id=17648
Richard Smith <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Richard Smith <[email protected]> --- Generic lambda capturing is implemented now, and we reject this correctly: <stdin>:1:29: error: variable 'x' cannot be implicitly captured in a lambda with no capture-default specified int f(int x){return[](auto){x;}(x);} ^ -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ LLVMbugs mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
