HP aC++/HP ANSI C A.06.28 Release (769149-001, March 2014)
2 What’s new in this version?
HP aC++/HP C compiler version A.06.28 provides additional support for C++11 core language
features, with complete binary compatibility with earlier releases and -AA compilation mode.
Following are the changes in HP aC++/HP C compiler version A.06.28:
• “Improved support for C++11 core language features” (page 9)
“Uniform initialization ” (page 9)◦
◦ “"noexcept" specifier and operator” (page 10)
◦ “Range-based for loops ” (page 10)
◦ “Opaque enumeration definitions” (page 10)
◦ “constexpr” (page 11)
◦ “Nonstatic data member initializers” (page 11)
◦ “Unrestricted unions” (page 11)
◦ “Delegating constructors” (page 11)
◦ “Raw string literals” (page 12)
◦ “UTF-8 string literals” (page 12)
◦ “Ref-qualifier on this” (page 12)
◦ “Inline namespace ” (page 12)
◦ “Implicit move constructors and assignment operators” (page 13)
◦ “Converting lambdas to function pointers ” (page 13)
• “New options in this release” (page 13)
“Option for selecting standard C++ library” (page 13)◦
◦ “Option to select compilation mode” (page 13)
◦ “Option to perform instruction scheduling for Poulson based Itanium® architecture”
(page 14)
• “New Library with this release” (page 14)
• “Deprecated and obsoleted options” (page 14)
• “CXX_MAP_FILE mapping environment variable for easy migration” (page 14)
Improved support for C++11 core language features
Preliminary support for the following C++11 core language features has been introduced in this
release:
Uniform initialization
This release of the compiler supports ‘uniform initialization’ under the C++11 compilation mode.
To initialize, a class, struct, or an array is given a list of arguments in braces, in the order of the
members' definitions in the class.
For example:
Improved support for C++11 core language features 9