31 Jul
2009
31 Jul
'09
9:09 a.m.
One of our requirements is to be able to run simulations, and so we need a clock that can be stopped/started/accelerated. Is there a mechanism for this in Boost.Date_Time?
IIRC, DateTime doesn't have "mechanisms", but just a date-time abstractions, i.e. data-types and methods. Although it's got a clock that gives you current time, but it's just a high-level wrapper for the relevant OS function. Probably, you need something like boost::asio::deadline_timer ?