Array
A resizable arrayDescription
Array is a container which stores its elements in a contiguous memory block. The Array container
will automatically resize as needed to contain the desired number of elements.
Definition
template <
class AType>
class Array :
public ArrayBase
Base Classes
| ArrayBase | Used internally to encapsulate functionality that is independent of the template parameter. |
Contructor
Array();
Member Functions
Operators
| const AType& operator[](const unsigned int Index); | Returns a copy of the element at the position given in the operator brackets. If the given position is not within the current range of elements, an assertion is thrown (Debug mode only), and the return value is undefined. |
| Array& operator=(const Array &Source); | Creates a copy of the Array in Source. The existing array is destroyed in favor of the source array. |