Boost logo

Boost :

Subject: Re: [boost] File Handle and FILE* wrappers?
From: Olaf van der Spek (ml_at_[hidden])
Date: 2014-12-05 06:53:07

On Fri, Dec 5, 2014 at 12:48 PM, Bjorn Reese <breese_at_[hidden]> wrote:
> On 12/05/2014 12:29 PM, Olaf van der Spek wrote:
>>> std::io_base::openmode for the mode parameter,
>>> define a native_handle_type type instead of exposing FILE directly, and
>> Do you mean a real class (unowned handle) or just a typedef?
> Just a typedef. I am thinking about something similar to:

Then functions having native handle parameters (so just int on POSIX)
would have type safety issues. I think a real class makes more sense,
like std::thread::id


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