Boost logo

Boost :

Subject: [boost] File Handle and FILE* wrappers?
From: Olaf van der Spek (ml_at_[hidden])
Date: 2014-11-19 07:16:26


Would there be any interest in wrappers for file handles / descriptors
and FILE*?

Sometimes one needs native handles or FILE* for interoperability or
special features like memory mapped IO, but standard C++ doesn't
provide convenient RAII friendly wrappers for these.
The idea seems trivial yet quite useful.

I'm aware of <boost/iostreams/device/file_descriptor.hpp> but it seems
to be too high-level.

I've put a simple start for FILE* at
What do you think?

Also posted at!topic/std-proposals/Q4RdFSZggSE


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