Compaq C++ User Documentation


Compaq C++

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

Begin Index

Contents (summary)
Preface Preface
Chapter 1 Building and Running C++ Programs
Chapter 2 Compaq C++ Implementation
Chapter 3 Compaq C++ Language Environment
Chapter 4 Porting to Compaq C++
Chapter 5 Using Templates
Chapter 6 Precompiled Headers
Chapter 7 The C++ Standard Library
Chapter 8 Handling Exceptions
Chapter 9 Using the Ladebug Debugger
Appendix A Class Library Restrictions
Appendix B Built-In Functions
Appendix C Third Degree Messages


Preface Preface
Chapter 1
1 Building and Running C++ Programs
     1.1     Compiling a Program
     1.2     Linking a Program
     1.3     Name Demangling
     1.4     C++ Standard Library
     1.5     C++ Class Library
     1.6     Linking With Non-Default Libraries
     1.7     Debugging
     1.8     Improving Build Performance
         1.8.1         Object File Compression [Tru64]
         1.8.2         Using Shared Libraries
         1.8.3         Using Precompiled Headers
         1.8.4         Performance Optimization Options
     1.9     Deploying Your Application [Tru64]
         1.9.1         Redistributing the C++ Run-Time Library
         1.9.2         Instructions for Installing Redistribution Kit
     1.10     Using OpenMP
Chapter 2
2 Compaq C++ Implementation
     2.1     Implementation-Specific Attributes
         2.1.1         #pragma Preprocessor Directive
                #pragma define_template Directive
                #pragma instantiate Directive
                #pragma environment Directive
                #pragma extern_prefix Directive
                #pragma ident Directive
                #pragma [no]inline Directive
                #pragma intrinsic Directive
                #pragma [no]member_alignment Directive
                #pragma message Directive
                #pragma module Directive
                #pragma once Directive
                #pragma pack Directive
                #pragma pointer_size Directive [Tru64]
                #pragma required_pointer_size Directive [Tru64]
                #pragma required_vptr_size Directive [Tru64]
                #pragma [no]standard Directive
                #pragma weak Directive
         2.1.2         Protecting System Header Files
                Using the Compiler's Header File Protection Option
                Modifying Each Header File
         2.1.3         Predefined Macro Names
         2.1.4         Translation Limits
         2.1.5         Numerical Limits
         2.1.6         Argument-Passing and Return Mechanisms
     2.2     Implementation Extensions and Features
         2.2.1         Identifiers
                Character Limit for Long Names
         2.2.2         Order of Static Object Initialization
         2.2.3         Integral Conversions
         2.2.4         Floating-Point Conversions
         2.2.5         Explicit Type Conversion
         2.2.6         The sizeof Operator
         2.2.7         Explicit Type Conversion
         2.2.8         Multiplicative Operators
         2.2.9         Additive Operators
         2.2.10         Shift Operators
         2.2.11         Equality Operators
         2.2.12         volatile Type Specifier
         2.2.13         __unaligned Type Specifier
         2.2.14         Linkage Specifications
         2.2.15         Temporary Objects
                Nonconstant Reference Initialization with a Temporary Object
         2.2.16         Exception Handling
         2.2.17         File Inclusion
         2.2.18         Inheritance and Header Files
         2.2.19         Nested Enums and Overloading
         2.2.20         Guiding Declarations
     2.3     Run-time Type Identification
     2.4     Implementation of Polymorphism During Object Construction
     2.5     Message Control Options
     2.6     Message Information Options
Chapter 3
3 Compaq C++ Language Environment
     3.1     Using Existing C Header Files
         3.1.1         Providing C and C++ Linkage
         3.1.2         Resolving C++ Keyword Conflicts
     3.2     Using Compaq C++ with Other Languages
     3.3     Linkage to Non-C++ Code and Data
     3.4     How to Organize Your C++ Code
         3.4.1         Code That Does Not Use Templates
         3.4.2         Code That Uses Templates
         3.4.3         Creating Libraries
     3.5     Using 32-bit Pointers (xtaso)
     3.6     Hints for Designing Upwardly Compatible C++ Classes
         3.6.1         Source Compatibility
         3.6.2         Link Compatibility
         3.6.3         Run Compatibility
         3.6.4         Additional Reading

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.