home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_08_11
/
8n11088b
< prev
next >
Wrap
Text File
|
1990-09-18
|
235b
|
16 lines
class It {
public:
It( List &l) { current = head;}
Truth isend() { return (current == 0); }
T get()
{
T r = current->value();
current = current->next();
return r;
}
private:
Node *current;
};