I have the following code and it works pretty good (other than the fact that it\'s pretty slow, but I don\'t care much about that). It doesn\'t seem intuitive that this woul
A quick look at the source code shows that basic_ofstream is the wrapper around basic_filebuf.
basic_ofstream
basic_filebuf