Marco Alesiani
2014-Aug-01 10:13 UTC
[LLVMdev] Clang 3.4 yields lambda rvalue reference error while gcc doesn't
I noticed that the following program compiled with clang 3.4 yields an error: http://coliru.stacked-crooked.com/a/844643c70280f89b Conversely gcc doesn't (http://ideone.com/k7y55p) If the program gets compiled in clang without the '-stdlib=libc++' option it compiles just fine so I suppose it might be a problem in libc++. A quick search on LLVM's bugzilla for libc++ and lambda doesn't show any outstanding issue. Is this a bug or am I missing something? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140801/df77bd93/attachment.html>