[LLVMdev] Using C++'11 language features in LLVM itself

Justin Holewinski justin.holewinski at gmail.com
Fri Jan 11 11:15:38 PST 2013


On Fri, Jan 11, 2013 at 2:08 PM, Eli Bendersky <eliben at google.com> wrote:

> >> I suppose this tradeoff can be evaluated by looking at the delta
> >> between 4.5 and 4.6 which is actually supported by MSVC 2010 and Clang
> >> 3.1
> >
> > Makes perfect sense to me.
> >
> > -Chris
>
> According to http://gcc.gnu.org/projects/cxx0x.html, these features
> are available from 4.6 (language features only):
>
> - Null pointer constant
> - Forward declarations for enums
> - Generalized constant expressions
> - Unrestricted unions
> - Range-based for
> - Defining move special member functions
> - Allowing move constructors to throw
>

Of those, looks like only null_ptr is reasonably supported in MSVC 2010.
 Oh well...


>
> Eli
>



-- 

Thanks,

Justin Holewinski
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130111/c3007e05/attachment.html>


More information about the llvm-dev mailing list