In a C/C++ domain modeling class diagram, you can change
the return type for a C/C++ method.
Before you begin
You must be in the C/C++ perspective and have a diagram open
in the diagram editor.
About this task
To change the return type for a method, complete the following
steps:
Procedure
- In the diagram editor, select the method.
- Click the method to edit it; then change the method return
type.
- In the C/C++ element edit dialog box,
in the Refactored Source pane, preview the change.
- Click OK.