Boost logo

Boost :

Subject: [boost] [iostreams] Doc errors
From: Richard Hadsell (hadsell_at_[hidden])
Date: 2013-04-17 14:43:22

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_at_[hidden]
Blue Sky Studios
1 American Lane, Greenwich, CT 06831-2560
Follow Blue Sky Studios on Facebook <> and Twitter <>

Boost list run by bdawes at, gregod at, cpdaniel at, john at