B

C++ Language Manager

C++ Language Manager

Type Name

lang_c++

Title

C++

Description

In general, this manager supports the C++ expressions and declarations described in your C++ reference manual, and the debugger extensions listed under \Syntax."

Function overloading is permitted, and modules may contain identically named functions. Identically named functions are speci￿ed by name and parameters that identify them using the syntax

`amb(function name,parameter type,parameter type,...)

where function name is the name of the function and parameter type is a list of the data types of the function's parameters, separated by commas. You may list all of the parameters; alternativ ely, you may list as many parameter type arguments as you need to identify the function or functions you are referring to, and use ellipses ( . .. ) to indicate that the function may take additional parameters. Use

`amb(function name)

to specify a version of the overloaded function that takes no parameters. Use

`amb(function name ,...)

to specify all v ersions of the o verloaded function. For example,

`amb(sum,int,int)

refers to a function sum in the current environment that takes two integer parameters.

Language Managers B-7