http://llvm.org/bugs/show_bug.cgi?id=15119
Douglas Gregor <dgre...@apple.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #1 from Douglas Gregor <dgre...@apple.com> 2013-02-01 15:37:19 CST --- Clang is correcting according to the current proposed resolution of core issue 975 (which allows non-trivial return type deduction in lambdas): http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#975 In particular, none of the lvalue-to-rvalue, function-to-pointer, or array-to-pointer conversions apply here. GCC should not be stripping off the 'const'. -- Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ LLVMbugs mailing list LLVMbugs@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs