Any stream class for C standard FILE * streams ?
29 Aug
2010
29 Aug
'10
12:26 p.m.
Hello Is there a stream class in boost that would use a C standard FILE * stream as the buffer ? Thank you, Timothy Madden
29 Aug
29 Aug
5:25 p.m.
On Aug 29, 2010, at 8:26 AM, Timothy Madden wrote:
Is there a stream class in boost that would use a C standard FILE * stream as the buffer ?
boost::iostreams::file_descriptor_{sink, source} in combination with fileno(FILE*) might be what you need. The sink/source type then needs to be wrapped in a boost::iostreams::stream<>.
5191
Age (days ago)
5191
Last active (days ago)
1 comments
2 participants
participants (2)
-
Kim Barrett
-
Timothy Madden