13 Sep
2009
13 Sep
'09
10:39 p.m.
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);
Ah, of course! Thanks guys, just what I needed (std::iostream in this case.) Interesting idea with the unit tests too Richard, I'll have to come back to that. Cheers, Adam.