next up previous contents index
Next: Copy Methods Up: Writing Methods Previous: "list-alloc" and "list-free"

Copying Instances

There are two fundamentally different ways an instance can be copied: the instance itself can be copied to create a completely new instance within its own memory, or the pointer to the instance can be copied to create a reference. In the main manager menu buttons for both copy types are supplied (see section 4.3.5.3).





SFB 256 Universität Bonn and IAM Universität Freiburg

Copyright © by the Sonderforschungsbereich 256 at the Institut für Angewandte Mathematik, Universität Bonn.