rollbear / trompeloeil

Header only C++14 mocking framework
Boost Software License 1.0
802 stars 85 forks source link

Fix streamer for input-range like types #317

Closed DNKpp closed 11 months ago

DNKpp commented 11 months ago

As discussed #313

codecov[bot] commented 11 months ago

Codecov Report

All modified lines are covered by tests :white_check_mark:

Comparison is base (1c5cb72) 98.00% compared to head (ad428fa) 98.00%. Report is 2 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #317 +/- ## ======================================= Coverage 98.00% 98.00% ======================================= Files 1 1 Lines 1356 1356 ======================================= Hits 1329 1329 Misses 27 27 ``` | [Files](https://app.codecov.io/gh/rollbear/trompeloeil/pull/317?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Bj%C3%B6rn+Fahller) | Coverage Δ | | |---|---|---| | [include/trompeloeil.hpp](https://app.codecov.io/gh/rollbear/trompeloeil/pull/317?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Bj%C3%B6rn+Fahller#diff-aW5jbHVkZS90cm9tcGVsb2VpbC5ocHA=) | `98.00% <ø> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

DNKpp commented 11 months ago

Ah, lovely. Will try to fix that :)

rollbear commented 11 months ago

If you want to use them, the docker containers with the various compilers are available at ghcr.io/rollbear/gcc and ghcr.io/rollbear/clang, e.g. docker pull ghcr.io/rollbear/gcc:4.9. See https://github.com/rollbear/ci_compilers/ for info on how to use them. Be careful with using them for other purposes - I change them randomly for whatever reason.

DNKpp commented 11 months ago

Well, thanks. Hopefully it's working now. Never thought, that such a trivial code will be broken on c++11 conforming compilers.

rollbear commented 11 months ago

Yeah, trying to get something to work with such a wide range of compilers of various ages can be quite challenging. Thank you so much for this fix.