Boost logo

Boost :

Subject: Re: [boost] [gil::io] Feedback for scanline_read_iterator
From: Christian Henning (chhenning_at_[hidden])
Date: 2013-02-18 19:54:09

>> Actually that doesn't work. How would the user signal to just skip a
>> scanline? I cannot add a parameter to operator++.
>> scanline_read_iterator< Reader >& operator++( bool read_scanline =
>> true ) { //to something }
> The "do something" is in operator*, no?

Correct. I changed the code now so that the user will have to skip()
to jump over scanlines. I think that's a good solution. If the user
doesn't call skip the current scanline will be read.


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