next up previous contents
Next: Searchable List Up: Collection Types Previous: Collection Types   Contents

Simple List

The declaration     list< element_type> field;
declares a simple list with the following methods:

void append_ field( element_type x);
int get_ field_count() const;
Iter< element_type> get_ field_iterator();
void insert_ field(int pos, element_type x);
element_type remove_ field(int pos);
element_type get_ field(int pos);

SUIF Nightly Build