E

 

exception

An exception is a runtime error condition. Exception handling is a C++ mechanism that allows

 

the error detector to pass the error condition to the exception handler. An exception is raised by

 

a throw statement within a try block and handled by a catch clause. The ANSI/ISO C++

 

International Standard defines only synchronous exceptions.

explicit

A method of instantiation that instantiates a template at the point of its use. You can code an

instantiation

explicit template instantiation, as defined in the Final Draft International Standard, in your source

 

file.

external symbol

A name of a function or data item in an object file that you can link with other object files.

F

 

friend

A class or a function that has access to data of a class and member functions. Friend has access

 

to the public, protected, and private members of a class.

function template

A template that defines an unbounded set of related functions.

H

 

header file

A C++ source file typically containing class or function declarations. It is referenced by other

 

C++ source files using the #include preprocessor directive.

HP aC++

The latest C++ compiler from HP. It closely complies with most features of the ANSI/ISO C++

 

International Standard.

HP C++

An initial, pre-C++ draft proposed international standard C++ compiler from HP. It is based on

 

the cfront compiler and provides functionality for templates and exception handling.

I

 

include guards

Preprocessor commands, such as, #ifndef, #define, and #endif, used in a header file to

 

prevent compiling that file more than once.

inline function

A function whose code is copied in place of each function call.

instantiate

To form an instantiation by binding a template to particular argument types.

instantiated class

A class generated from a class template by instantiation.

instantiated

A function generated from a function template by instantiation.

function

 

instantiation

A generated class or function (a definition) that is the result of binding a template to particular

 

argument types. Also known as a generation.

L

 

lex

A program generator for lexical analysis of text.

link unit

A single entity submitted to the linker. A link unit can be an object file (.o file, the output of a

 

translation unit), an archive library (.a file), or a shared library (.so file).

load compile

Invoking the compiler using the +hdr_use option, and a manual precompiled header file.

M

 

member data

Any data element declared to be part of a class.

member function

Any function declared to be part of a class.

multiple

The ability of a class to inherit from more than one base class. The derived class inherits all public

inheritance

and protected members from all of its base classes. Also see single inheritence.

N

 

name demangling

The process of changing the internal representation of identifiers back to their original C++ source

 

names. Also see name mangling.

224 Glossary

Page 224
Image 224
HP C/aC++ for PA-RISC Software manual International Standard defines only synchronous exceptions