Valid indices are from zero to the number of items in the list less one. The results cannot be used as an lvalue. An exception of type RW BoundsError will be thrown if i is not a valid index. Valid indices are from zero to the number of items in the list less one. Their destructors, if any, will be called.
Equality is measured by the class-defined equality operator.
Client data may be passed through as parameter d . Returns the number of items that are currently in the collection. Equality is measured by the class-defined equality operator. Client data may be passed through as parameter d . The behavior is undefined if the list is empty.