Stream Buffer When to flush the buffer template > class logoutbuf : public std::basic_streambuf {...