http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56039
Daniel Krügler <daniel.kruegler at googlemail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |daniel.kruegler at | |googlemail dot com --- Comment #1 from Daniel Krügler <daniel.kruegler at googlemail dot com> 2013-01-19 12:07:54 UTC --- This code surely is not valid. Lambda expressions are restricted and they are neither allowed in constant expressions (5.19 p2 b8) nor can they appear in an unevaluated operand (5.1.2 p2).