编译器支持即将到来的C ++ 0x [英] Compiler support for upcoming C++0x

查看:152
本文介绍了编译器支持即将到来的C ++ 0x的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有编译器对新的C ++ 0x有很好的支持?

Is there a compiler that has good support for the new C++0x?

我使用GCC,但不幸的是目前的版本4.4对新的C ++功能。

I use GCC but unfortunately the current version 4.4 has a poor support for the new features.

推荐答案

唯一一个有概念实现的编译器是conceptgcc(甚至是不完整的 -

Visual C ++ 2010 Beta有一些有用的C ++ 0x支持 - 可以使用lambdas,右值引用,自动,decltype。

Comeau C ++或基于EDG的编译器令人惊讶地不像我预期的那样在他们的C ++ 0x的实现中。

GCC 4.4(可变参数模板,初始化列表,内联命名空间, autor,decltype)可能有其他任何编译器实现的最多的功能,但是在概念和lambdas(单独的分支开发正在进行)中滞后。

The only compiler that has an implementation of concepts is conceptgcc (and even that is incomplete - but it is good enough to get a good feel for the feature).
Visual C++ 2010 Beta has some useful C++0x support - you can play with lambdas, rvalue references, auto, decltype.
Comeau C++ or the EDG based compilers are surprisingly not as advanced I would have expected them to be in their implementation of C++0x.
GCC 4.4 (variadic templates, initializer lists, inline namespaces, autor, decltype) probably has the most features implemented out of any of the other compilers, but is lagging in concepts and lambdas (separate branch development is ongoing).

这篇关于编译器支持即将到来的C ++ 0x的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆