Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



The types of array


General arrays of objects

Six general types of array can be constructed:

[Top]


General arrays of pointers

There are three arrays which can be used when the elements are pointers to CBase derived objects. They allow type-safe access to CBase derived objects:

[Top]


Specialised arrays

There are two specialised arrays of untyped elements, all having the same length, which can be used as data members of a base class in a thin template class/base class pair. These classes are useful in situations where the type of elements forming the array cannot be known in advance:

There are two specialised arrays of untyped elements, having varying lengths, which can be used as data members of a base class in a thin template class/base class pair. These classes are useful in situations where the type of element forming the array is known only at the time the class is created (i.e. at compile time):

There are two template specialisations of RArray<class T>.