Boost logo

Boost :

From: William E. Kempf (williamkempf_at_[hidden])
Date: 2002-09-27 08:55:34


From: "Simon J. Julier" <sjulier_at_[hidden]>

> A couple of questions about xtime:
>
> 1. Are there any plans to replace xtime with the posix time system from
the
> date_time library? The documentation of the posix time system says that it
> has nano-second resolution and it also provides conversions to things
like
> UTC (needed for POSIX sleep).

The xtime type was created out of desperation, and it was always assumed
that a full featured time library would replace it at some point. Whether
or not the new date_time library can fill the needs here remains to be seen.
It's something I'll be looking into in depth after the official release of
the library.

> 2. Since an xtime helper function (xtime_cmp, which is undocumented) has
> appeared in xtime.hpp, are there any plans to make other public xtime
> operations (such as simple arithmetic) or conversions (e.g., to_time)
> available? I know these are rather simple, but in my applications I've had
> to reimplement the same basic funcionality several times and it gets to be
> rather inconvenient.

I should document xtime_cmp, since it's in the public interface now. Thanks
for catching that.

I have no immediate plans to extend xtime any more than it's already been
done. We need a full featured time library (hopefully date_time will
suffice), and I don't have the expertise or time to turn xtime into that.

Bill Kempf


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