
26 Jun
2006
26 Jun
'06
12:53 p.m.
"Jeff Garland" wrote
Andy Little wrote:
"Andy Little" wrote
Is their any reason that one couldnt allow different implementations?
timer<time_duration> garland_timer; timer<boost::system::microsends_t> dawes_timer; timer<pqs::time::ms> andy_timer; timer<my::time_type> my_timer;
No, I'm certain I can make a policy based timer 'swiss army knife' timer that would allow you to swap out the guts with whatever you want. But, honestly, I think it's not worth the time it would take. But if you're moved to write it, be my guest.
Not really, but I hope I can make this work sometime (nb:quan was boost::pqs) : quan::timer<quan::time::us> timer; boost::posix_time::time_duration td = timer(); regards Andy Little