- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
i've been searching for this quite some time without much luck.
In VC++ there is a preprocessor macro _HAS_CPP0X, similarly GCC has __GXX_EXPERIMENTAL_CXX0X__ defined when the c++0x feature set is enabled.
Now the big question.
Is there some way to find out whether -std=c++0x or /Qstd=c++0x was specified and the availiable c++0x feature set was enabled from inside the code?
The reason i am asking is, because i'd like to implement cross plattform move semantics.
It would be even better to have safe access to ICC's rvalue ref capabilities.
Best regards
i've been searching for this quite some time without much luck.
In VC++ there is a preprocessor macro _HAS_CPP0X, similarly GCC has __GXX_EXPERIMENTAL_CXX0X__ defined when the c++0x feature set is enabled.
Now the big question.
Is there some way to find out whether -std=c++0x or /Qstd=c++0x was specified and the availiable c++0x feature set was enabled from inside the code?
The reason i am asking is, because i'd like to implement cross plattform move semantics.
It would be even better to have safe access to ICC's rvalue ref capabilities.
Best regards
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It does look like these could be desirable features. If you want it considered, you could submit example code as a feature request on premier.intel.com.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Tim,
after some back and forth with the customer support i was notified that my Intel account is not able to create new tickets on premier.intel.com.
I was told to contact my Intel contact which i don't realy have.
I'd like to know if there is some other way i can contribute to the issue.
Kind regards
Viktor
after some back and forth with the customer support i was notified that my Intel account is not able to create new tickets on premier.intel.com.
I was told to contact my Intel contact which i don't realy have.
I'd like to know if there is some other way i can contribute to the issue.
Kind regards
Viktor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Viktor,
There is a request on adding the macro for C++0x in our database. I'll add your request to the existing FR(DPD200157269).
If you could not report to Premier Support, feel free to report any issues to the forum. The response time may not be as fast, but there is a bigger community to help out.
Thanks,
Jennifer
There is a request on adding the macro for C++0x in our database. I'll add your request to the existing FR(DPD200157269).
If you could not report to Premier Support, feel free to report any issues to the forum. The response time may not be as fast, but there is a bigger community to help out.
Thanks,
Jennifer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Update to this feature: it is implemented since 13.x, and the new macro name is __INTEL_CXX11_MODE__
Thanks,
Jennifer

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page