
13 Dec
2010
13 Dec
'10
1:35 a.m.
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