Boost logo

Boost Users :

From: Jeff Garland (jeff_at_[hidden])
Date: 2005-07-23 12:55:17


On Fri, 22 Jul 2005 18:15:27 -0600, Sean Rohead wrote
> Thank you!
>
> I also discovered that this works:
>
> time_duration t(8, 45, 0, milliseconds(100).fractional_seconds());

I guess, but it's uglier and requires more internal calculation than:

   time_duration t = hours(8) + minutes(45) + milliseconds(100);

Jeff


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net