Boost logo

Boost Users :

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


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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net