-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stream device "tell" method absent! #724
Comments
For now i wrote very ugly workaround - it's looks like very very bad!
so i'll waiting for your realization as addition - specialization of devices very unclear - cos it's inside boost::gil::detail - i think it must be as public api |
The class file_stream_device already has such functions, and now both istream_device and ostream_device have them, too, making the device classes more consistent. Closes boostorg#724.
Yes, the To fix this, I opened a PR that implements both of those methods for both of the mentioned classes, #747. |
I am trying write custom io extension - and i need get size to the end of device(stream or file no matter)
I already wrote all classes and tags for it, but it seems i found bug
i wrote following code to calc size
following code compiles just fine
but i'ev got error when use istream
error C2039: 'tell': is not a member of 'boost::gil::detail::istream_device'
i investigated boost_1_80_0\boost\gil\io\device.hpp - and it's true there is no tell method in istream_device class :(
but in file_stream_device it's present.
The text was updated successfully, but these errors were encountered: