49 virtual void swap(
int i1,
int i2);
50 virtual int push(T nd,
int where=-1);
52 virtual T
pop(
int which=-1);
53 virtual int remove(
int which=-1);
54 virtual void Delta(
int ndelta) {
if (ndelta>=0)
delta=ndelta; }
61 enum ListsDeleteType {
64 LISTS_DELETE_Refcount,
81 virtual T *
operator[](
int i) {
if (i>=0 && i<
n)
return e[i];
else return NULL; }
84 virtual void swap(
int i1,
int i2);
85 virtual int push(T *nd,
char local=-1,
int where=-1);
86 virtual int popp(T *topop,
int *local=NULL);
87 virtual int pop(T *&popped,
int which=-1,
int *local=NULL);
88 virtual T *
pop(
int which=-1,
int *local=NULL);
90 virtual int remove(
int which=-1);
91 virtual int pushnodup(T *nd,
char local,
int where=-1);
92 virtual void Delta(
int ndelta) {
if (ndelta>=0)
delta=ndelta; }
100 #ifdef LAX_LISTS_SOURCE_TOO
101 #include <lax/lists.cc>
Mon Feb 17 2014 11:52:57, Laxkit