iostreams icon indicating copy to clipboard operation
iostreams copied to clipboard

Inconsistent documentation on return value of write() for SeekableDevice

Open chenxiaolong opened this issue 7 years ago • 1 comments

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?

chenxiaolong avatar Dec 04 '18 03:12 chenxiaolong

Yes, it looks like the documentation is incorrect here.

jeking3 avatar Dec 04 '18 11:12 jeking3