16 Dec
2014
16 Dec
'14
2:29 a.m.
On December 15, 2014 6:25:44 PM EST, Nat Goodspeed
Interestingly, I just stumbled across a bit of live legacy code that relies on __gnu_cxx::stdio_filebuf to allow constructing an istream or ostream from an open FILE*. This does not port to libc++.
What surprised me was that I could find no support for FILE* in Boost.Iostreams. Writing a streambuf isn't rocket science, but I would think that this particular use case would be common enough to warrant library support.
Am I overlooking something?
FILE* is buffered and streambuf provides buffering. You can create a streambif that doesn't actually do any buffering, but it is contrary to the purpose of one. ___ Rob (Sent from my portable computation engine)