<br><br><div class="gmail_quote">On Fri, Jan 11, 2013 at 8:01 PM, Chris Lattner <span dir="ltr"><<a href="mailto:clattner@apple.com" target="_blank">clattner@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
FYI, on llvmdev we are discussion whether it makes sense to adopt C++'11 language features in llvm and clang.  This obviously affects the clang community as well.  My latest proposal is here:<br>
<a href="http://lists.cs.uiuc.edu/pipermail/llvmdev/2013-January/058007.html" target="_blank">http://lists.cs.uiuc.edu/pipermail/llvmdev/2013-January/058007.html</a><br>
<br>
If you're interested in this, please chime in on the llvmdev thread.<br>
<br>
-Chris<br></blockquote><div><br>I am interested but I don't quite understand how I can chime in on the llvmdev thread without first receiving it in my e-mail client, did I miss something in your link ?<br><br>Anyway, using the Apache Wiki [1] I summed up what can be used simultaneously by gcc, MSVC and clang.<br>
<br>I voluntarily only considered the latest versions of the proposals where there were several, as I feared that subtly different semantics between two versions of a compiler might cause more harm than good [tm].<br><br>
Let's examine the baseline setup: gcc 4.5, MSVC 10 and clang 3.1.<br><br>- extern template (n1987)<br>- lambda v1.1 (n2927)<br>- local types as template arguments (n2657)<br>- new deduced return type (n2541)<br>- static_assert (n1720)<br>
- built-in type traits (n1836)<br><br><br>If we move the bar a little higher: gcc 4.6, MSVC 11 (not CRT nov' 12) and clang 3.1, we add some features.<br><br>- atomic (n2427) / requires MSVC 11<br>- forward enum (n2764) / requires gcc 4.6, MSVC 11<br>
- nullptr (n2431) / requires gcc 4.6<br>- strongly-typed enums (n2347) / requires MSVC 11<br>- range-based for (n2930) / requires gcc 4.6, MSVC 11<br><br><br>I attached the extract I did (isolating just the compilers of interest) in case someone finds it useful.<br>
<br>[1]: <a href="http://wiki.apache.org/stdcxx/C%2B%2B0xCompilerSupport">http://wiki.apache.org/stdcxx/C%2B%2B0xCompilerSupport</a><br><br>-- Matthieu<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</blockquote></div><br>