From: Jeff Garland (jeff_at_[hidden])
Date: 2006-06-18 10:50:38
>> For whatever datatype the "elapsed" function returns, I think we had
>> better have istream/ostream overloads for it. The current one returns
>> "double", which works fine with istream/ostream. The overload should
>> return or parse secs.fracsecs in all various forms.
> Interesting, but this is a change request for the date_time lib then ?
> Maybe there's already an ostream& operator<< for the
> boost::posix_time::ptime etc types, I'll have a look.
There is and it does what you would expect with fractional seconds, etc.
(eg: 00:00:01.1234567). With a facet you can control the format of
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk