Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Supported data types passed using C++ pointers (by reference) z/OS Language Environment Writing Interlanguage Communication Applications SA38-0684-00 |
|||||||||||||||||||
Table 1 identifies the data types that can be passed as parameters between C++ and PL/I applications with the use of explicit pointers under C++. Parameters that are pointers are passed by reference to PL/I. Conversely, reference parameters passed by PL/I to C++ are received as pointers to the equivalent data type or as a C++ reference variable such as int& i. Anything that is passed with a pointer can be passed with a reference variable; the effect is the same. Reference variables are generally easier to use.
|
Copyright IBM Corporation 1990, 2014
|