5 Dec
2014
5 Dec
'14
11:53 a.m.
On Fri, Dec 5, 2014 at 12:48 PM, Bjorn Reese
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:
http://www.boost.org/doc/html/boost_asio/reference/basic_stream_socket/nativ...
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 -- Olaf