|
Boost : |
Subject: Re: [boost] GIL io_new review
From: Christian Henning (chhenning_at_[hidden])
Date: 2010-12-12 20:35:08
Hi all,
>> ...<<<Skipped>>>...
>> With that said, I have no problem with providing an iostream interface (as
>> an additional option, that has no influence on other code) only with
>> providing _only_ an iostream interface (which AFAICT is currently the case
>> for in memory images...luckily not for all of io_new)...
>
> And this is what Christian has done. If your input is not a stream, the code doesn't use streams; it operates straight to FILE*. But if you start with a stream, then it uses a stream. Did I understand the code correctly, Christian? If so, does this address your objection then, Domagoj?
Yes, the device is a template parameter and when no stream is used the
code wouldn't use istream_device< format > for reading.
Christian
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk