HP aC++/HP C A.06.20 Programmer's Guide
mutable Keyword........................................................................................................183
Usage......................................................................................................................183
Example..................................................................................................................183
namespace and using Keywords.................................................................................184
Connections Across Translation Units...................................................................185
An Auxiliary Translation Unit...............................................................................186
using- declarations and using- directives..............................................................186
using- declaration.............................................................................................186
using- directive.................................................................................................186
typeid Keyword...........................................................................................................187
Usage......................................................................................................................187
typeid Example.................................................................................................188
volatile Keyword.........................................................................................................190
Usage......................................................................................................................190
Example..................................................................................................................190
wchar_t Keyword........................................................................................................191
Usage......................................................................................................................191
Example..................................................................................................................191
template Keyword.......................................................................................................191
Usage......................................................................................................................191
Example..................................................................................................................191
typename Keyword.....................................................................................................192
Usage......................................................................................................................192
Example..................................................................................................................192
Overloading new[] and delete[] for Arrays......................................................................193
Example.......................................................................................................................193
Standard Exception Classes..............................................................................................194
Example.......................................................................................................................195
Exceptions Thrown by the Standard C++ Library............................................................196
type_info Class..................................................................................................................196
Unsupported Functionality..............................................................................................197
7 Optimizing HP aC++ Programs...............................................................................................201
Requesting Optimization..................................................................................................201
Setting Basic Optimization Levels...............................................................................201
Level 1 Optimization..............................................................................................201
Level 2 Optimization..............................................................................................201
Level 3 Optimization..............................................................................................202
Level 4 Optimization..............................................................................................202
Additional Options for Finer Control.........................................................................202
Enabling Aggressive Optimizations......................................................................203
Enabling Only Conservative Optimizations..........................................................203
Removing Compilation Time Limits When Optimizing.......................................203
14 Table of Contents