Cray Standard C/C++ Reference Manual
• The precedence of the third operand of the ? operator is changed.
• If control reaches the end of the main() routine, and the main() routine
has an integral return type, it is treated as if a return 0; statement was
executed.
• Pointers to arrays with unknown bounds as parameter types are diagnosed
as errors.
• A functional-notation cast of the form A() can be used even if A is a class
without a (nontrivial) constructor. The temporary that is created gets the same
default initialization to zero as a static object of the class type.
• A cast can be used to select one out of a set of overloaded functions when
taking the address of a function.
• Template friend declarations and definitions are permitted in class definitions
and class template definitions.
• Type template parameters are permitted to have default arguments.
• Function templates may have nontype template parameters.
• A reference to const volatile cannot be bound to an rvalue.
• Qualification conversions such as conversion from T** to
T const * const are allowed.
• Digraphs are recognized.
• Operator keywords (for example, and or bitand) are recognized.
• Static data member declarations can be used to declare member constants.
• wchar_t is recognized as a keyword and a distinct type.
• bool is recognized.
• RTTI (runtime type identification), including dynamic_cast and the
typeid operator, is implemented.
• Declarations in tested conditions (within if, switch, for, and while
statements) are supported.
• Array new and delete are implemented.
• New-style casts (static_cast, reinterpret_cast, and const_cast)
are implemented.
158 S–2179–36
Comments to this Manuals