System.DynamicArray.operator =
C++
DynamicArray<T>::operator =(const DynamicArray<T>& src)
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | sysdyn.h | System | DynamicArray |
Description
Assigns data from another Dynamic Array.
Dynamic Arrays are reference counted. When a DynamicArray is assigned to another, only the reference is assigned (and the reference count adjusted); the contents of the source are not copied. Similarly, when two Dynamic Arrays are compared, only the references are compared, not the contents. To create a separate copy of the contents of a DynamicArray, use the Copy (or CopyRange) method.