When a function returns an «existing type», it is returned
by type pointer. You can set if the function returns by "value"(),
by "pointer"(*) or by "reference"(&).
Procedure
- Right‑click the function/operation and select Features to
open the Features window.
- On the Properties tab,
find the CPP_CG::Type::ReturnType property.
- Change the value to any of the following
choices:
- $Type* to return by "pointer"(*)
- $Type to return by "value"()
- $Type& to return by "reference"(&)
- Click OK.