15 Jun
2005
15 Jun
'05
5:09 p.m.
Hello, one short question regarding the 'operator<<' on time_durations (which in turn calls 'duration_put' in time_formatting_streams.hpp): The stream's filler is changed via the manipulator 'std::setfill' to zero ('0'), but without setting it back to the one the stream had when entering to this function (in my case blank (' ')). This results in undesired leading blanks on the subsequent usage of the same stream object. Question: Is it a bug or is it the common way how streams are used (which would mean that is't up to me resetting it to blank again). Thank you in advance! -- Donato Petrino