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". -- Dick Hadsell 203-992-6320 Fax: 203-992-6001 Reply-to: hadsell@blueskystudios.com Blue Sky Studioshttp://www.blueskystudios.com 1 American Lane, Greenwich, CT 06831-2560 Follow Blue Sky Studios on Facebook http://www.facebook.com/BlueSkyStudios and Twitter http://twitter.com/#%21/blueskystudios
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
participants (2)
-
Richard Hadsell
-
Steven Watanabe