iostreams
iostreams copied to clipboard
Inconsistent documentation on return value of write() for SeekableDevice
In the SeekableDevice documentation, the description of write() says:
https://github.com/boostorg/iostreams/blob/29a831798ec6337848d1f2e8595b59e5503e4f21/doc/concepts/seekable_device.html#L58-L60
but the function signature says the return value is void:
https://github.com/boostorg/iostreams/blob/29a831798ec6337848d1f2e8595b59e5503e4f21/doc/concepts/seekable_device.html#L56
Should that say std::streamsize instead?
Yes, it looks like the documentation is incorrect here.