Boost logo

Boost :

From: Sean Wilson (smileyhamster_at_[hidden])
Date: 2002-03-22 23:52:55

Gennadiy Rozental wrote:
>I think simple iterator adaptor would do the work. Is it what are
>you using?

That would be a much better, generic solution; it's just I've only ever had
this problem with istream_iterator.

Ok, how about an iterator adaptor which simply keeps count of how many
elements have been iterated over so far and indicates the sequence has ended
when a specified number is reached? Would you find this useful?


Sean Wilson

Send and receive Hotmail on your mobile device:

Boost list run by bdawes at, gregod at, cpdaniel at, john at