[LLVMdev] Clang 3.4 yields lambda rvalue reference error while gcc doesn't
Marco Alesiani
marco.diiga at gmail.com
Fri Aug 1 03:13:14 PDT 2014
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>
More information about the llvm-dev
mailing list