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.
Note:
See TracTickets
for help on using tickets.