HP C++ User Documentation


HP C++

HP C++
Using HP C++ for Tru64 UNIX and Linux Alpha

Previous Contents Index

Chapter 4
4 Porting to HP C++
     4.1     Compatibility with Other C++ Compilers
     4.2     Compatibility With Version 5.n Compilers [Tru64]
         4.2.1         Compiler Version Options [Tru64]
         4.2.2         Language Differences [Tru64]
         4.2.3         Implementation Differences [Tru64]
         4.2.4         Library Differences [Tru64]
     4.3     Using Classes
         4.3.1         Friend Declarations
         4.3.2         Member Access
         4.3.3         Base Class Initializers
     4.4     Undefined Global Symbols for Static Data Members
     4.5     Functions and Function Declaration Considerations
     4.6     Using Pointers
         4.6.1         Pointer Conversions
         4.6.2         Bound Pointers
         4.6.3         Constants in Function Returns
         4.6.4         Pointers to Constants
     4.7     Using typedefs
     4.8     Initializing References
     4.9     Using the switch and goto Statements
     4.10     Using Volatile Objects
     4.11     Preprocessing
     4.12     Managing Memory
     4.13     Size-of-Array Argument to delete Operator
     4.14     Flushing the Output Buffer
     4.15     Missing Parenthesis Error Message
     4.16     Link Using cxx
     4.17     Source File Extensions
     4.18     Incrementing Enumerations
     4.19     Scope of Variables Declared on a for Statement
     4.20     Guidelines for Writing Clean 64-Bit Code
Chapter 5
5 Using Templates
     5.1     Overview
     5.2     Automatic Template Instantiation
         5.2.1         Specifying Alternate Repositories
         5.2.2         Reducing Compilation Time with the -ttimestamp Option
     5.3     Implicit Inclusion
         5.3.1         Compiling Programs with Automatic Instantiation
         5.3.2         Linking Programs with Automatic Instantiation
     5.4     Manual Template Instantiation
         5.4.1         Instantiation Directives
                #pragma define_template
                #pragma instantiate and #pragma do_not_instantiate
     5.5     Advanced Program Development and Templates
         5.5.1         Dependency Management
         5.5.2         Mixing Automatic and Manual Instantiation
         5.5.3         Creating Libraries
         5.5.4         Creating A Common Instantiation Library
         5.5.5         Multiple Repositories
     5.6     Template Options
     5.7     Compatibility with Earlier Versions of C++
         5.7.1         Linking with Version 5.n Instantiations
     5.8     Linking Version 5.n Applications Against Version 6.n Repositories
Chapter 6
6 Precompiled Headers
     6.1     Automatic Precompiled Header Processing
     6.2     Manual Precompiled Header Processing
     6.3     Other Ways for Users To Control Precompiled Headers
     6.4     Performance Issues
     6.5     Command-Line Options for Precompiled Headers
Chapter 7
7 The C++ Standard Library
     7.1     Important Compatibility Information
         7.1.1         -[no]using_std Compiler Compatibility Switch
         7.1.2         Pre-ANSI/ANSI Iostreams Compatibility
         7.1.3         Support for pre-ANSI and ANSI operator new()
         7.1.4         Overriding operator new()
         7.1.5         Support for Global array new and delete Operators
     7.2     How to Build Programs Using the C++ Standard Library
     7.3     Optional Switch to Control Buffering
     7.4     Enhanced Compile-time Performance of ANSI Iostreams
     7.5     Upgrading from the Class Library to the Version 6.n Standard Library
         7.5.1         Upgrading from the Class Library Vector to the Standard Library Vector
         7.5.2         Upgrading from the Class Library Stack to the Standard Library Stack
         7.5.3         Upgrading from the Class Library String Package Code
         7.5.4         Upgrading from the Class Library Complex to the ANSI Complex Class
         7.5.5         Upgrading from the Pre-ANSI iostream library to the Standard Library
Chapter 8
8 Handling Exceptions
     8.1     Structure
     8.2     Run-Time Considerations
     8.3     Coding Recommendations
     8.4     Mixed-Language Applications
     8.5     Finding Information about Exceptions
     8.6     Using the dlclose Routine
     8.7     Catching Signals and C Exceptions
     8.8     C++ Exceptions and Threads [Tru64]
Chapter 9
9 Using the Ladebug Debugger
     9.1     Debugging C++ Programs
     9.2     Using Absolute and Relative Path Names
     9.3     Debugging Programs Containing C and C++ Code
     9.4     Setting the Class Scope
     9.5     Displaying Class Information
     9.6     Displaying Object Information
     9.7     Displaying Virtual and Inherited Class Information
     9.8     Modifying Class and Object Data Members
     9.9     Member Functions on the Stack Trace
     9.10     Resolving Ambiguous References to Overloaded Functions
     9.11     Setting Breakpoints in Member Functions
         9.11.1         Setting Breakpoints in Overloaded Functions
         9.11.2         Setting Breakpoints in Constructors and Destructors
     9.12     Calling Overloaded Functions
     9.13     Using Typecasts to Display Program Expressions
     9.14     Class Templates and Function Templates
     9.15     Debugging C++ Exception Handlers
         9.15.1         Setting Breakpoints in Exception Handlers
         9.15.2         Examining and Modifying Variables in Exception Handlers
     9.16     Advanced Program Information: Verbose Mode
     9.17     Reducing Object File Size During Debugging
         9.17.1         Using the -gall and -gall_pattern Options
         9.17.2         Hints for Using the -gall Option Effectively

Previous Next Contents Index
About PDF files: The PDF files on this site can be read online or printed using Adobe® Acrobat® Reader. If you do not have this software on your system, you may download it from Adobe's website.
Privacy statement Using this site means you accept its terms C++ support
© 2008 Hewlett-Packard Development Company, L.P.