Public Member Functions | Protected Member Functions | Protected Attributes | Friends

intVec Class Reference

Inheritance diagram for intVec:

List of all members.

Public Member Functions

 intVec (int l)
 intVec (int l, int fill_value)
 intVec (const intVec &)
intVecoperator= (const intVec &a)
intVec at (int from=0, int n=-1)
int capacity () const
void resize (int newlen)
int & operator[] (int n)
int & elem (int n)
void reverse ()
void sort (intComparator f)
void fill (int val, int from=0, int n=-1)
void apply (intProcedure f)
int reduce (intCombiner f, int base)
int index (int targ)
void error (const char *msg)
void range_error ()

Protected Member Functions

 intVec (int l, int *d)

Protected Attributes

int len
int * s


intVec concat (intVec &a, intVec &b)
intVec map (intMapper f, intVec &a)
intVec merge (intVec &a, intVec &b, intComparator f)
intVec combine (intCombiner f, intVec &a, intVec &b)
intVec reverse (intVec &a)
int operator== (intVec &a, intVec &b)
int operator!= (intVec &a, intVec &b)

The documentation for this class was generated from the following files: