13 Sep
2009
13 Sep
'09
3:17 p.m.
On Sat, Sep 12, 2009 at 6:59 PM, Adam Nielsen
Hi all,
Bit of a basic question - I'd like to have some functions that work with files (using std::fstream) but can also handle boost::iostreams. Is there a data type I can use that can handle both? For example:
void writeSomeData(std::fstream out);
I can't pass a boost::iostream::stream to this function. What type can I use to achieve this?
void writeSomeData(std::ostream &out); -- Cory Nelson http://int64.org