Boost logo

Boost :

From: Jonathan Wakely (cow_at_[hidden])
Date: 2005-02-08 12:32:35


On Tue, Feb 08, 2005 at 03:01:55PM +0100, Roman Dementiev wrote:

> Brian Braatz wrote:
> >What other libraries or os specific
> >functions does your library need.
> the current implementation the library needs pthreads and
> support of POSIX file system calls (open/read/write/close).
>
> As I already mentioned in other postings, I would use
> boost threads instead of pthreads to make the library
> more portable and boost compliant.
>
> What concerns I/O, the library needs:
> 1) large file (>2GB) support (e.g. FAT32 does not support large files)
> 2) avoidance of superfluios buffering (like in std::fstream)

    std::fstream f;
    f.rdbuf()->setbuf(0,0);

What's wrong with doing that?

(apart from the fact it underflows for every character.)

jon


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk