- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does anyone who which are the likely new C++0X in the 11.2 release? And any idea on the likely release dates?
I am trying to think ahead to whether I port over a bunch of my code to 11.1 or wait a version.
-Jesse
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
One feature of the C++ 0x is the r-value reference. We're working to support it. But we do not have a timeline for it.
Such feature will not be in 11.x branch, but a new major release. So it unlikely will be available before VS2010.
If your program does not make use of the other new language features of VS2010, you can start porting with 11.1. Porting is not just like a switch, may take some time. ALso if you found any feature our 11.1 does not support, let us know and so we can get it into our next version - if time allows.
Thanks,
Jennifer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
One feature of the C++ 0x is the r-value reference. We're working to support it. But we do not have a timeline for it.
Such feature will not be in 11.x branch, but a new major release. So it unlikely will be available before VS2010.
If your program does not make use of the other new language features of VS2010, you can start porting with 11.1. Porting is not just like a switch, may take some time. ALso if you found any feature our 11.1 does not support, let us know and so we can get it into our next version - if time allows.
Thanks,
Jennifer
Thanks Jennifer,
I know that it is one of the larger changes, but variable argument template parameters will be hugely important for using the experimental versions of boost, etc., having sane error messages from libraries, etc.. I would love to see it sooner rather than later (GCC has pushed it forward).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'll mark this post to our FR item so when it's ready, I'll let you know.
Jennifer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jennifer,
Just checking in on the status here with the 11.2 release. Do we know if it is coming about the same time as Visual Studio 2010?
Any movement on C++0X features? It will change how I write code now to prepare for it.
In particular, here are a few of the things already in GCC:http://gcc.gnu.org/gcc-4.5/cxx0x_status.html
- Variable argument templates
- Alternative function syntax... something like....
[cpp]templateauto myfunc(T t) -> decltype(t + t) { return t+t; }[/cpp]
- Initializer lists
- Default template arguments for function templates
If you are giving feedback on order of implementation for these, I would give these as my ordered list of interests.
Thanks so much, and thanks again for such a great compiler.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry I missed your posting.
No, there will be no 11.2 release. The next major release is 12.0. Some of the C++0x features will be included in 12.0. The 12.0 is still under development. I do not have a date for it.
But you will know when it's released. I will post a big news here. If you're registered to Intel Premier Support, you will get an email notification about it.
A note for VS2010 support, we do not support beta OS or VS. After VS2010 released we will support it in a later time, but it will take some time though.
btw, I've sent your list with 4 features to our engineering team.
Thanks for providing the detail info.Jennifer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
decltype and auto and variadic macros will beavailablein 12.0 (on Linux under the -std=c++0x option)
but not enum classes or variadic templates.
Also there will be defaulted/deleted functions, lambdas, rvalue references, and some other minor features such as allowing an explicit enum base, enum qualifiers, and local types as template arguments.
We tried to get animplementation of variadic templatesbut this featuredidn't make it in time for the first beta which means it will have to wait until the next release after 12.0.Sorry.
Judy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Our first priority is to try to keep up with Gnu and Microsoft and I don't think either of these compilers have this feature yet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
[cpp]Alternative function syntax... something like.... templateThe amount of template meta-programming required to get around this is enormous (and often at the mercy of potential compiler bugs. For example, I postedhttp://software.intel.com/en-us/forums/showthread.php?t=73680for the engineering team as a difference with GCC. This likely wouldn't be a problem if alternative function returns were supported).auto myfunc(T t) -> decltype(t + t) { return t+t; } [/cpp]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, the new function declarator syntax is available in both MSVC++ 2010 and g++ 4.5 (with the -std=c++0x option) sowe shouldmake it high priorityonour "C++0x to do list".
thanks for your input.
Judy
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page