
5 Mar
2005
5 Mar
'05
2:32 p.m.
"Brian Braatz" <brianb@rmtg.com> 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