|
|
|
@@ -40,7 +40,7 @@ |
|
|
|
do so, the class must fulfil these requirements:
|
|
|
|
- it must have a copy constructor and assignment operator
|
|
|
|
- it must be able to be relocated in memory by a memcpy without this causing any problems - so
|
|
|
|
objects whose functionality relies on external pointers or references to themselves can be used.
|
|
|
|
objects whose functionality relies on external pointers or references to themselves can not be used.
|
|
|
|
|
|
|
|
You can of course have an array of pointers to any kind of object, e.g. Array <MyClass*>, but if
|
|
|
|
you do this, the array doesn't take any ownership of the objects - see the OwnedArray class or the
|
|
|
|
|