AMDG On 04/17/2013 11:43 AM, Richard Hadsell wrote:
I'm just starting to read the Boost.Iostreams documentation and found a couple of minor errors. Perhaps someone would like to make these trivial corrections to help other novices in the future.
(1) 2.1.4. In the implementation of container_device::write, the block that writes remaining characters at the end of the container ("if (result < n) { ... }") should insert characters from 's + result', not from 's': "container_.insert(container_.end(), s + result, s + n);".
(2) 2.1.4. In the implementation of container_device::seek, there are 3 uses of "ios_bas" instead of "ios_base".
Please file a ticket at svn.boost.org. That way it won't be forgotten if I (or someone else) doesn't get to immediately. In Christ, Steven Watanabe