- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Probelm with const_cast in aCC6
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
Forums
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
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
тАО09-18-2009 03:17 AM
тАО09-18-2009 03:17 AM
Probelm with const_cast in aCC6
RCSIResponseToXml.cpp", line 369: error #2717: the type in a const_cast must
be a pointer, reference, or pointer to member to an object type
XmlTagEmit ("POBox", const_cast
^
- Tags:
- const_cast
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2009 08:04 AM
тАО09-18-2009 08:04 AM
Re: Probelm with const_cast in aCC6
If BillingNameAndAddress is the class, try:
XmlTagEmit ("POBox", const_cast
Note the ``&'' following immediately the class name.
Regards,
Kobylka
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2009 03:55 PM - edited тАО08-28-2011 12:57 PM
тАО09-18-2009 03:55 PM - edited тАО08-28-2011 12:57 PM
Re: Problem with const_cast in aCC6
Why would you need to const_cast the result of a function call? Functions don't return "const" things. They could return pointers or references to them.
It would be helpful if you can provide the signature of getROUTEBOX().