- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to get "std::move" with rvalue references with...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2013 10:09 AM
12-10-2013 10:09 AM
Hi,
I am instantiating 06.26 aCC with "-mt -AA -Ax -ext +DD64", which means that I should be able to use rvalue referefences (the -Ax enables this).
And since rvalue references go hand in hand with std::move (and possibly std::forward), does anyone know how to make those functions available?
It should be in <utility> but it doesn't seem to be there (my utility is in /opt/aCC/include_std/utility).
Thanks in advance for any help.
Alan
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2013 09:48 PM
12-10-2013 09:48 PM
Re: How to get "std::move" with rvalue references with aCC A.06.26
This version of aC++ supports the C++11 concept but there are no C++11 standard functions/headers (<utility>) with it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2013 09:57 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2013 01:20 AM
12-11-2013 01:20 AM
Re: How to get "std::move" with rvalue references with aCC 06.26
@SoumitraC wrote:This version of aCC supports only the C++11 language extensions through the option -Ax. The STL headers and libraries are not yet C++11 compliant.
When you say "This version", do you know which version supports the headers and libraries?
It seems to me that aCC is being left behind other compilers. Unfortunately I have to develop portable code that is to be compiled on HP-UX, Solaris, Linux and Windows and it is always HP-UX and aCC which is the lowest common denominator, forcing us to keep being in the dark ages of c++ and not moving forward. It is so frustrating!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2013 01:28 AM
12-11-2013 01:28 AM
Re: How to get "std::move" with rvalue references with aCC 06.26
There is work underway currently for supporting C++11 headers and libraries and should be available hopefully by next year.
Please note that aCC has support for C++11 language constructs in line with most other compilers today.
Its the standard library that is missing, which would also be made available soon.
HP-UX Compilers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2013 01:51 AM
12-11-2013 01:51 AM
Re: How to get "std::move" with rvalue references with aCC 06.26
Thanks
I also find it hard to find information about what version of aCC has what feature of c++11/14.
E.g. Does aCC have the "for (auto a in list)" construct yet?
Is there a place that has a grid-like view of what is in each version of aCC, so I can make an informed decision on whether to upgrade?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2013 03:10 AM
12-11-2013 03:10 AM
Re: How to get "std::move" with rvalue references with aCC 06.26
The feature lists per version of aCC are well documented, albeit not in a matrix format, in the corresponding release notes, available off the aCC homepage http://www.hp.com/go/acc.
For example, the release notes for A.06.27 is available here:
The above also contains the features released in the prior versions as well.
HP-UX Compilers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2013 05:03 AM
12-11-2013 05:03 AM
Re: How to get "std::move" with rvalue references with aCC 06.26
Yes, I used the release notes to see if rvalue references are implemented but I cannot find anything about the "Range-based for loop". I assume this isn't implemented yet.
A simple at-a-glance matrix format with all c++11/14 features and a simple yes/no would be such a valuable resource. All other major compiler vendors have this and I can easily search and find out which c++11/14 is implemented in which version. It is much harder to find for aCC, you have to dig much more and even then, there is nothing to say that it isn't implemented apart from lack of documentation.
I don't been to be critical, I am hoping that you take my opinions on board and make this type of information easier to find and easier to read.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2013 05:13 AM
12-11-2013 05:13 AM
Re: How to get "std::move" with rvalue references with aCC 06.26
Sure, that's definitely a good suggestion and we will see what best we can do about that.
Thanks for your feedback - do let them keep coming.
HP-UX Compilers