Lists

Lists (actually variable-sized arrays) are provided as the primary way to pass a variable number of objects to and from functions. Because the semantics of lists are that they store and return actual copies of the list elements, instead of using pointers to elements, they are not implemented using inheritance from a base class.



Subsections