Subject: Re: [boost] File Handle and FILE* wrappers?
From: Olaf van der Spek (ml_at_[hidden])
Date: 2014-11-26 14:10:31
Not many responses...
Does noone use native IO?
On Thu, Nov 20, 2014 at 9:10 AM, Olaf van der Spek <ml_at_[hidden]> wrote:
> On Wed, Nov 19, 2014 at 1:47 PM, Sylvester-Bradley, Gareth
> <Gareth.Sylvester-Bradley_at_[hidden]> wrote:
>>> shared_ptr/unique_ptr work fine for me with FILE*, one only has to
>>> write a deleter. A dedicated class would be needed for POSIX file
>>> descriptors though.
>> Peter Sommerlad and Andrew L. Sandoval's unique_resource RAII proposal uses both FILE* and POSIX file descriptors as examples.
>> I think this is the latest revision:
> It does solve the RAII part but it doesn't provide a standard
> interface for native IO.