C/C++ Programmer's Guide (G06.25+)

Features and Keywords of Version 2 Native C++
HP C/C++ Programmer’s Guide for NonStop Systems429301-008
E-2
Features Supported in VERSION2
A cast can be used to select one out of a set of overloaded functions when taking
the address of a function.
[13.4 Address of overloaded functions]
Type template parameters are permitted to have default arguments.
[14.1 Template parameters]
Function templates may have nontype template parameters.
[14.1 Template parameters]
A reference to const volatile cannot be bound to an rvalue.
[8.5.3 References]
Qualification conversions such as conversion from T** to T const * const *
are allowed.
[4.4 Qualification conversion]
Digraphs are recognized.
[2.5 Alternative tokens]
Operator keywords (and, bitand, and so on) are recognized.
[2.5 Alternative tokens]
Static data member declarations can be used to declare member constants.
[9.4.2 (4) Static data members]
wchar_t is recognized as a keyword and a distinct type.
[3.9.1(7) Fundamental types]
bool is recognized.
[3.9.1(8) Fundamental types]
RTTI (run-time type identification), including dynamic_cast and typeid
operator, is implemented.
[5.2.8 Type identification]
Declarations in tested conditions (in if, switch, for, and while statements)
are supported.
[6.4(3) Selection statements]
Array new and delete are implemented.
[5.3.4 New; 5.3.5 Delete; 18.4.1.2 Array forms]
New-style casts (static_cast, reinterpret_cast, and const_cast) are
implemented.
[5.2.6 Dynamic cast; 5.2.8 Static cast; 5.2.9 Reinterpret cast; 5.2.10 Const cast]
Definition of a nested class outside its enclosing class is allowed.
[9.7(3) Nested class declarations]
mutable is accepted on nonstatic data member declarations.
[7.1.1 (9) Storage class specifiers]