void SetElement(int pos, const T& value);
value
to the list element in position
pos
.
pos
must be in the range 1
to Size()
.
void Insert(int pos, const T& value);
pos
to Size()
are
shifted to higher positions.
value
in position
pos
.
pos
must be in the range 1
to Size() + 1
.
void Delete(int pos);
pos
.
pos + 1
to Size()
are
shifted to lower positions.
pos
must be in the range 1
to Size()
.
void PushFront(const T& value);
value
in position
1
.
void PushBack(const T& value);
value
in position
Size() + 1
.
T PopFront();
1
.
T PopBack();
Size()
.
void MakeEmpty();
This page was last modified on Feb 19, 2001
URL: http://people.hsc.edu/faculty-staff/robbk/Coms262/Lectures/ListMutators.html