boostorg / gil

Boost.GIL - Generic Image Library | Requires C++14 since Boost 1.80
https://boostorg.github.io/gil
Boost Software License 1.0
178 stars 164 forks source link

feat: add tell() and error() functions to istream + ostream devices #747

Closed striezel closed 3 months ago

striezel commented 3 months ago

Description

Adds tell() and error() functions to istream_device and ostream_device classes.

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 #724.

References

See #724.

Tasklist

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 82.12%. Comparing base (322c4e2) to head (e602fc2). Report is 3 commits behind head on develop.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #747 +/- ## ======================================== Coverage 82.12% 82.12% ======================================== Files 117 117 Lines 5355 5355 ======================================== Hits 4398 4398 Misses 957 957 ```