Boost logo

Boost Users :

Subject: [Boost-users] Binary (non-character-based) file iterators
From: Jason Felice (jason.m.felice_at_[hidden])
Date: 2009-12-21 14:43:04

I'm looking for binary (value_type = unsigned char) input and output
iterators for files. This is as opposed to a character base iterator
(which rules out ostream_iterator<>).

I don't need anything fancy (in fact, I'm just copying whole files to
and from archives). I know that Sprit has an input iterator which is
a forward iterator, and I could use that.

I've already started to write them with Boost.Iterator; but this seems
like something you should expect to find somewhere in boost already.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at