Laxkit  0.0.7.1
Classes
Laxkit Templates

Classes

class  Laxkit::PtrList< T >
 A simple doubly linked list of pointers. More...
class  Laxkit::NumStack< T >
 A generic stack for values (like int, double), not pointers. More...
class  Laxkit::PtrStack< T >
 A generic stack for pointers (like anXWindow *, char *), not values. More...
class  Laxkit::RefPtrStack< T >
 A RefPtrStack with refcounting elements. More...

Detailed Description

The templates defined by Laxkit are a basic stack (NumStack, by value, not pointers), a pointer stack (PtrStack), a reference counting pointer stack (RefCounter).

Please note that stacks replace its entire array when necessary, pop does not necessarily make new array.

If you have a huge stack of objects, these classes are probably not the best things to use.

Todo:
implement a doubly linked list of pointers (PtrList).

Mon Feb 17 2014 11:52:58, Laxkit