C++ compiler that supports C++0x features?

后端 未结 6 1135
眼角桃花
眼角桃花 2020-12-20 14:48

Is where any C++ compiler that supports C++0x features already?

相关标签:
6条回答
  • 2020-12-20 15:08

    GCC has some of it supported. See here.

    0 讨论(0)
  • 2020-12-20 15:11

    Both the 2008 Visual C++ 'Feature Pack' and g++ support some features.

    The list of C++0x features supported by g++.


    The Visual C++ 2008 Feature Pack ... includes an implementation of TR1. Portions of TR1 are scheduled for adoption in the upcoming C++0x standard as the first major addition to the ISO 2003 standard C++ library. Our implementation includes a number of important features such as:

    • Smart pointers
    • Regular expression parsing
    • New containers (tuple, array, unordered set, etc)
    • Sophisticated random number generators
    • Polymorphic function wrappers
    • Type traits
    • And more!
    0 讨论(0)
  • 2020-12-20 15:14

    Microsoft's Visual Studio 2010 CTP (Community Technology Preview) contains support for four C++0x features namely lambdas, auto, static_assert, and rvalue references.

    You can download the VPC image here, make sure to read the bit about accounting for the January 1 2009 expiry date (this blog post is referenced).

    0 讨论(0)
  • 2020-12-20 15:18

    Scott Meyers has a nice detailed summary of C++0x support across some common compilers here:

    http://www.aristeia.com/C++0x/C++0xFeatureAvailability.htm

    0 讨论(0)
  • 2020-12-20 15:19

    There are compilers that partially support C++0x, but there can't be full support yet because the final C++0x has not yet been standardized.

    0 讨论(0)
  • 2020-12-20 15:20
    • GCC 4.4 (not released yet) would support some features like auto.
    • GCC 4.3 has not bad tr1 support and some feature like Variadic templates.
    • Latest Intel compiler supports quite well some C++0x features: it already has support of auto and lambda function.
    0 讨论(0)
提交回复
热议问题