[iostreams] boost::ostreams::file_descriptor_sink closing file handle
Hi,
I'm using file_descriptor_sink to obtain a stream to a given file
handle. It's important that the file remain open past the lifetime of
that object, so I send in false as the second parameter to the
constructor (close_on_exit). It seems the file is being closed anyway.
Here is an example:
#include <iostream>
#include
participants (1)
-
Scott Quiring