http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50431
--- Comment #2 from zhudiqi at 163 dot com 2011-09-16 11:40:42 UTC --- BUG1: auto sz = []()->constexpr long { return 100L; }; int arr[sz()]; Why constexpr for lambda won't be compiled? Can i not use auto type for a lambda variant?