Boost logo

Boost Users :

From: Donato Petrino (DPetrino_at_[hidden])
Date: 2005-06-15 12:09:53


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
        entering to this function (in my case blank (' ')). This results in
        undesired leading blanks on the subsequent usage of the same stream

        Question: Is it a bug or is it the common way how streams are used
        would mean that is't up to me resetting it to blank again).

Thank you in advance!

Donato Petrino

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at