|
Boost : |
From: Beman Dawes (beman_at_[hidden])
Date: 1999-07-01 11:15:15
At 09:50 AM 7/1/99 +0000, Sean A Corfield wrote:
>Beman Dawes <beman_at_[hidden]> wrote:
>
>[One concern is that the message written to cout by the job_timer
class]
>
>I can't believe you've tied a class to cout! The output stream
should be a
>parameter (at worst) but it would be better to arrange that only the
timing
>values were streamable (so the destructor writes only the value of
elapsed()
>to the stream specified to the job_timer - at construction time?).
Seems like there are a couple of issues coming forward for job_timer
and progress_display:
1) They are tied to cout.
2) They assume non-GUI environment.
I will try to address both of these.
--Beman
------------------------------------------------------------------------
eGroups.com home: http://www.egroups.com/group/boost
http://www.egroups.com - Simplifying group communications
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk