[Libclc-developers] An alternative clc_list approach + an iterator.
Status: Planning
Brought to you by:
augestad
|
From: <bo...@me...> - 2003-03-22 14:41:54
|
Attached is a file containing a list adt as well as an iterator adt. It even contains a readme, a test program and a Makefile. The list adt, clc_list, is a traditional list. The interface it currently not complete as this version is just a proof of concept. The iterator is capable of iterating on any data structure, provided that it is initialized properly. It should therefore be possible to use it for many different things in libclc, including maps, sets and hashes. Please review and comment. I think that most errors, conceptual and others, must be removed before the concept is presented to c.l.c, so this review may turn out to be very important. Thanks in advance. Bjørn |