Laxkit
0.0.7.1
|
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... |
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.