Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2005-08-19 10:53:50

Jeremy Maitin-Shepard <jbms_at_[hidden]> writes:

> All operating systems with which I am familiar only support reading and
> writing from memory ranges. Thus, if the iterators are actually
> pointers, this can be implemented efficiently. If they are not
> pointers, though, a temporary buffer will have to be allocated, the
> actual read performed using this temporary buffer, and then the data
> copied to the output iterator provided by the user. Because of this
> inefficiency, I doubt anyone would actually use the iterator interface
> with non-pointers.

In that case I'm strongly in favor of a low-level interface using

Dave Abrahams
Boost Consulting

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