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

Networking::TCPSocket *t; // Networking::V2::TCPSocket,
// because of the inline namespace
Networking::V1::TCPSocket *t2; // Networking::V1::TCPSocket
Networking::V2::TCPSocket *t3; // Networking::V2::TCPSocket
return 0;
}
Implicit move constructors and assignment operators
This release of compiler supports ‘Implicit move constructor and assignment operator’ as described
by N3053 under the C++11 compilation mode.
Converting lambdas to function pointers
This release of compiler supports ‘Converting lambdas to function pointer as described by N3052
under the C++11 compilation mode. A lambda expression with an empty capture set shall be
convertible to pointer to function type R(P), where R is the return type and P is the parameter-type-list
of the lambda expression.
New options in this release
Option to select compilation mode
A new option has been added in this release to select compilation mode:
+std=c89|c99|c++98|c++11|gcc|g++|gnu
+std=c89: This option invokes the compiler in ANSI C89 compilation mode. This option, when
specified with the -ext option, it invokes a part of ANSI C99 features. This is equivalent to ‘-AC89’
option.
+std=c99: This option invokes the compiler in ANSI C99 compilation mode with its features. This
is the default C compilation mode. This is equivalent to ‘-AC99’ option.
+std=c++98: This option invokes the compiler in ISO C++98 standard mode. This is the default
C++ compilation mode. This is equivalent to ‘-AA option.
+std=c++11: This option turns on support for several core language features introduced by the ISO
C++11 language standard. It is available only in C++ compilation mode and is binary compatible
with the ’+std=c++98’ (‘-AA’) compilation mode. This is equivalent to -Ax option.
+std=gcc: This option enables GNU C dialect compatibility. This option is equivalent to ‘–Agcc’
option.
+std=g++: This option enables GNU C++ dialect compatibility. This option is equivalent to ‘–Ag++’
option.
+std=gnu: This command line option is also used to enable gnu dialects, it switches between
‘+std=gcc’ or ‘+std=g++’ compilation, depending on whether the compilation mode is C or C++
respectively.
Option for selecting standard C++ library
A new option ‘+stl’ has been added in this release to select the available implementation of Standard
Template Library (STL):
+stl=rw|none
+stl=rw: This option is used to specify RogueWave STL 2.0 implementation. This option is equivalent
to ‘–AA option. It includes C++98 compliant STL. This is the default STL. This option causes standard
C++ header files to be picked up from the directory ‘/opt/aCC/include_std’ and linked with
libstd_v2.so.
+stl=none: By eliminating references to the standard header files and libraries bundled with HP
C++ compiler, this option allows experienced users to have full control over the header files and
libraries used in compilation, and linking of their applications. This is equivalent to ‘+nostl’ option.
New options in this release 13