HP aC++/HP ANSI C A.06.28 Release (769149-001, March 2014)

Contents
HP secure development lifecycle......................................................................7
1 HP aC++/HP ANSI C Release Notes............................................................8
2 What’s new in this version?.........................................................................9
Improved support for C++11 core language features.....................................................................9
Uniform initialization ...........................................................................................................9
"noexcept" specifier and operator........................................................................................10
Range-based for loops .......................................................................................................10
Opaque enumeration definitions..........................................................................................10
constexpr..........................................................................................................................11
Nonstatic data member initializers.......................................................................................11
Unrestricted unions.............................................................................................................11
Delegating constructors.......................................................................................................11
Raw string literals...............................................................................................................12
UTF-8 string literals.............................................................................................................12
Ref-qualifier on this.............................................................................................................12
Inline namespace ..............................................................................................................12
Implicit move constructors and assignment operators...............................................................13
Converting lambdas to function pointers ...............................................................................13
New options in this release......................................................................................................13
Option to select compilation mode.......................................................................................13
Option for selecting standard C++ library.............................................................................13
Option to perform instruction scheduling for Poulson based Itanium® architecture.......................14
New Library with this release...................................................................................................14
Deprecated and obsoleted options............................................................................................14
CXX_MAP_FILE mapping environment variable for easy migration.................................................14
3 Product changes in earlier versions.............................................................16
New features in version A.06.27..............................................................................................16
Improved support for C++11 languages................................................................................16
New char types char16_t and char32_t...........................................................................16
Alias and alias template declarations...............................................................................17
Variadic templates.........................................................................................................17
nullptr keyword.............................................................................................................17
Explicit conversion functions and boolean-conversion.........................................................17
Trailing return types (with "auto")....................................................................................18
Standard attributes........................................................................................................18
Attributes for checking, hiding and overriding...................................................................18
Use of "this" in trailing-return-types..................................................................................18
Built-in macro __cpluspluss.............................................................................................19
Improved support for GNU extensions..................................................................................19
Binary literals...............................................................................................................19
Better support for type trait pseudo functions.....................................................................19
Better support for attributes.............................................................................................19
Better support for templates............................................................................................19
Better support for built-ins...............................................................................................20
Support for default template arguments for function templates..................................................20
New options in this release.................................................................................................20
Option to perform less aggressive optimizations to thread local variables.............................20
Experimental features in this release.....................................................................................20
IELF file-splitting to improve the compilation time at +O4....................................................20
Diagnostic Changes...........................................................................................................20
Contents 3