I think I\'ll get right into it and start with the code:
#include #include #include class test : public std:
Does the caller need to know that you are returning an ofstream, or would it make more sense to return a streambuf, and let the caller wrap it inside a stream?
ofstream
streambuf