Off-by-one error in container_device example?
Open
- Dominant language
- C
- Stars
- 48
- Forks
- 124
- PR merge metrics
- No merged PRs in 30d
Description
I suspect that line https://github.com/boostorg/iostreams/blob/develop/example/container_device.hpp#L135 should not contain the "- 1"
When I compare behaviour of stream based on `container_device` with `std::stringstream` we can see that they show different behaviours:
https://godbolt.org/z/cfq5fM6M6
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.