HP aC++ Release Notes Version A.03.95 (5900-1789; September 2011)

HP aC++ Release Notes
New Features in Version A.03.37
Chapter 1 31
New Features in Version A.03.37
New features in HP aC++ version A.03.37 are listed below:
Rogue Wave Tools.h++ Version 7.1.1 Compatible with -AA
UTF-16 Character Transformation Format Support
__restrict Keyword Support
+ub and +sb Options to Control Bitfield Signedness
ANSI C++ Covariant Return Type
Improved Support for PCH with -AA
Improved Support for Pack and Align Pragmas
Improved DOC (Debug Optimized Code) Support
Performance Improvements to -AA iostream
Thread Muted Contention Fix on Null Strings with -AP
Rogue Wave Tools.h++ Version 7.1.1 Compatible with -AA
Rogue Wave Tools.h++ library version 7.1.1 can now be used with -AA option, that is, it can be used with
the Standard C++ Library 2.1.1. Note that the earlier Tools.h++ library version 7.0.6 could not be used with
-AA.
UTF-16 Character Transformation Format Support
The current compiler supports only ASCII strings or characters (8 bit chars with no transliteration) as
UTF-16. UTF-16 is described in the Unicode Standard, version 3.0 [UNICODE]. The definitive reference is
Annex Q of ISO/IEC 10646-1 [ISO-10646].
Any string or character which is preceded by ‘u’ is recognized as a UTF-16 literal or character and is stored
as an unsigned short type.
Example:
#define _UTF16(x) u##x
#define UTF16(y) _UTF16(#y)
typedef unsigned short utf16_t;
utf16_t *utf16_str = UTF16(y); // u”y”