Re: [Boost-users] Delayed write file handling
10 Apr
2006
10 Apr
'06
5:14 p.m.
-----Original Message----- From: James Hughes [mailto:JHughes@Linx.co.uk] Sent: Monday, April 10, 2006 11:59 AM For example, if our machine power fails, we have very limited amount of battery backup to store everything cached to flash before we run out of watts, so whatever scheme I implement needs to be able to be told to flush immediately - can I do that with streambufs?
I think you can force a stream to flush immediatly with something similar to the following: outputStream << std::flush;
6793
Age (days ago)
6793
Last active (days ago)
0 comments
1 participants
participants (1)
-
Andrew Holden