31void DIdxSet::setMax(
int newmax)
33 assert(
idx !=
nullptr);
64DIdxSet::DIdxSet(
int n)
67 len = (n < 1) ? 1 : n;
int max() const
returns the maximal number of indices which can be stored in IdxSet.
int * idx
array of indices
int size() const
returns the number of used indices.
IdxSet & operator=(const IdxSet &set)
assignment operator.
int len
length of array idx
Everything should be within this namespace.
void spx_realloc(T &p, int n)
Change amount of allocated memory.
void spx_free(T &p)
Release memory.
void spx_alloc(T &p, int n=1)
Allocate memory.
Memory allocation routines.