Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2005-03-05 09:32:38


"Brian Braatz" <brianb_at_[hidden]> writes:

> First off- note that Timer can take a start time on the ctor:
>
>
>
> class timer
>
> {
>
> public:
>
> timer() { _start_time = std::clock(); } // postcondition:
> elapsed()==0
>
> (snip)
>
>
>
>
>
> high_resolution_timer does not however:
>
>
>
> class high_resolution_timer
>
> {
>
> public:
>
> // ctor
>

Brian, did you realize your mailer was inserting double newlines in
your code examples?

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk