Really, all this does is provide an iterator and a means to insert (push_front) and remove (unlink) these things.
The list contents are always instances of latch_holder_t, which have an internal link for creating the list.
Definition at line 141 of file latch.cpp.
Public Member Functions | |
holder_list (latch_holder_t *&first) | |
iterator | begin () |
Dereferencing this iterator brings us to the first item in the list. | |
iterator | end () |
Dereferencing this iterator brings us past the last item in any list. | |
void | push_front (latch_holder_t *h) |
Insert h at the front of this list. | |
latch_holder_t * | unlink (iterator const &it) |
Remove whatever is the current item for the given iterator. | |
Classes | |
struct | iterator |
Iterator over a list of latch_holder_t structures. More... |