Boost logo

Boost :

Subject: Re: [boost] [filesystem] scoped_file feature request?
From: Kim Barrett (kab.conundrums_at_[hidden])
Date: 2011-10-13 03:55:19

On Oct 12, 2011, at 11:59 AM, Olaf van der Spek wrote:
> On Wed, Oct 12, 2011 at 2:24 PM, Stewart, Robert <Robert.Stewart_at_[hidden]> wrote:
>>> That doesn't seem right either. It shouldn't be necessary to
>>> close and reopen the file.
>> How would you transfer the open file handle to std::fstream, for example?
> I think std::fstream doesn't support that. But that seems a limitation
> of std::fstream.

which is addressed by boost::iostreams::stream<boost::iostreams::file_descriptor_sink>

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