>From reading countless posts here I seem to get the impression that to
roll your own output stream class, the minimum you would likely needed
to do would be to override the overflow() method, as it is apparently
the default action of sync() is to call overflow(EOF).
In my own testing under Linux with g++, it appears that it is the
sync() method that needs to be overridden, as it does not appear to
default to calling overflow(EOF)... but overflow() certainly appears to
default in calling sync() when it needs more room.
Is this a "bug" with g++, or have I been mistaken in my intepretation
of the general consensus here?