System.DynamicArray.operator =

From RAD Studio API Documentation
Revision as of 21:42, 28 October 2011 by Kmasuyama (talk | contribs) (wrong import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.

See Also