## class XGSDynArray

> Declared in <XDynArray.h>
> Declared from XGSizeArray

> Like the XGPDynArray, but used to deal with arrays of structures which have no constructors, destructors, etc.

Construction/Destruction

> XGSDynArray::XGSDynArray
> XGSDynArray::operator =
> XGSDynArray::~XGSDynArray

Element Access

> XGSDynArray::Insert
> XGSDynArray::operator +=
> XGSDynArray::operator []

Construction/Destruction

XGSDynArray::XGSDynArray

> Usage: XGSDynArray():XGSizeArray(sizeof(T))

> Ths constructs an empty array

XGSDynArray::operator =

> Usage: const XGSDynArrayay()Tlt;&&operator=(const XGSDynArraynt T Ty(&o&old)

> Copies the contents of this array to another array, destroying the old array and using a memory copy operator to move the array elements

XGSDynArray::~XGSDynArray

> Usage: virtual~XGSDynArray()

> This destroys this array, releasing all allocated memory.

Element Access

XGSDynArray::Insert

> Usage: void Insert(long i,const T&ptr)

> This inserts the specified pointer at the location given. The index is a zero-based index; if i is zero, this inserts at the beginning. If i is the length, appends to the end.

XGSDynArray::operator +=

> Usage: XGSDynArray(lon Ti,co&operator+=(const T&t)

> This appends the specified pointer to the end of the array.

XGSDynArray::operator []

> Usage: T&operator[](long i)const

> This returns a reference to the specified pointer