Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2002-02-25 10:24:09


At 09:58 PM 2/24/2002, Jeff Garland wrote:

>> Seems like we should hold off on time until Jeff Garland and his group
>get
>> their time library proposal done.
>
>This hasn't been fully settled, but the generic time has the ability to
>extract
>the date, and the time of day (hours, minutes, seconds and fractions of a
>second). The resolution of the fraction of seconds is something that can

>be
>adjusted so if we need nanoseconds and the system can provide them then
>that's
>we'll do. The fractions of a second approach allows most code to handle
>the
>sub-second stuff generically for different resolutions. However,
>nanosecond
>resolution won't be supported on many platforms, so we would need to play

>some
>tricks (like set nanoseconds to zero on all non-supporting platforms or
use
>a
>templated time type to adjust the resolution by platform) to deal with
>this.

I guess what I'm saying is that at least two potential Boost libraries
(threads and filesystems) need some notion of time that goes beyond
anything now in the standard, so we really need a Boost-now and
standard-later solution so developers don't have to keep reinventing the
wheel.

--Beman


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