I am writing a course on modern C++ and wanting to explain how flush operations work, so I decided to disable the automatic flush in order to write to the buffer only when s