Boost logo

Boost :

From: Neal D. Becker (ndbecker2_at_[hidden])
Date: 2004-04-07 10:41:54


Giovanni Bajo wrote:

> Fredrik Blomqvist wrote:
>
>> This was interesting, any chance of making this a separate, free
>> standing boost.component?
>
> If there is interest, we can probably ask a review for it. Given the tight
> review schedule, it might take a while.
>
>> Memory mapped file access have been briefly discussed before and a
>> posix/windows implementation of mem-mapped files by Craig Henderson
>> has been in the sandbox for quite some time.
>
> spirit::file_iterator has different implementations (through a policy),
> and works on posix/windows, using memory mapped files when available.
> Plus, there is a freestand version (std::fopen and friends). It uses
> Boost.IteratorAdaptor (new version).

I'm looking at your spirit::file_iterator impl. Looks pretty cool.

One question. Why do failures, such as failure to open mmap posix file,
return instead of throw?


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