Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

C++ XE state of C++0x?

kfsone
New Contributor I
287 Views
Is there a page somewhere listing the state of C++ XEs C++0x compatability/support?
- Does it support "auto"?
- Does it support constructor delegation?
- Does it support RValue references / move ctors / operators
Oliver
0 Kudos
1 Reply
Andreas_Klaedtke
Beginner
287 Views
The compiler documentation for 12.0.0 states in the -std=c++0x section:

c++0x

Enable support for the following C++0x features:

  • Atomic types and operations

  • Scoped enumeration types

  • Defaulted and deleted functions

  • Rvalue references

  • Empty macro arguments

  • Variadic macros

  • Type long long

  • Trailing comma in enum definition

  • Concatenation of mixed-width string literals

  • Extended friend declarations

  • Use of ">>" to close two template argument lists

  • Relaxed rules for use of "typename"

  • Relaxed rules for disambiguation using the "template" keyword

  • "extern template" to suppress instantiation of an entity

  • "auto" type specifier

  • decltype operator

  • static_assert

  • compliant __func__

lambda expressions

There is also the following site on the net:
http://en.chys.info/2009/05/cpp0x-in-icc11/
Giving a few details about the C++0x standard in version 11 of the compiler. I suppose that 12 covers this as well.
I hope that
http://wiki.apache.org/stdcxx/C++0xCompilerSupport
will be updates at some point.

RValue references and auto seem to be supported.
0 Kudos
Reply