Opened 12 years ago

Last modified 8 years ago

#81 assigned new-feature

contracts -- basic iterator

Reported by: Fred T. Hamster Owned by: bugdock
Priority: minor Milestone:
Component: feistymeow-nucleus Version:
Keywords: Cc:

Description

iterator<class contents>

define virtual next()

define a sentinel that means stop?

like so?
contents *next();

sentinel just being nil on nothing left?

how to iterate on null in list then?
don't, i guess.

---> adapt this concept in the list class and see if it righteously simplifies everything.

Change History (1)

comment:1 by Fred T. Hamster, 8 years ago

Owner: changed from Fred T. Hamster to bugdock
Status: newassigned
Note: See TracTickets for help on using tickets.