|
Boost : |
From: Stefan Seefeld (seefeld_at_[hidden])
Date: 2003-06-19 15:19:44
hi there,
I note that boost::posix_time supports on certain platforms
the generation of a ptime from a timeval (using gettimeofday()).
I have a time class in my own project which can be cast from/to
timeval, so I can use it in conjunction with calls to 'select()',
which expects a timeval pointer.
I'd like to replace my code by boost::date_time, but conversion
from boost::date_time to timeval doesn't seem to be supported.
Any ideas ?
Thanks,
Stefan
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk