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
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?
Send and receive Hotmail on your mobile device: http://mobile.msn.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk