Boost logo

Boost Users :

Subject: Re: [Boost-users] Binary (non-character-based) file iterators
From: Scott McMurray ([hidden])
Date: 2009-12-21 15:41:35

2009/12/21 Jason Felice <jason.m.felice_at_[hidden]>:
> 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<>).

If you can accept char instead of unsigned char, then use the standard
streambuf iterators, istreambuf_iterator and ostreambuf_iterator.

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