Boost logo

Boost :

From: Dave Moore (jdmoore99_at_[hidden])
Date: 2005-12-12 20:59:01

> <snip>
> > For the deadline_time, I am unsure as to whether functions
> > like "expires_from_now" benefit from their default coupling to
> > boost::datetime. Most timer operations in high performance
> > I/O tend to be relative, which is easily expressed without a
> > clock binding. It does help that asio only depends upon the
> > headers of datetime.
> What did you have in mind? I rather like the date_time way of
> expressing units as an aid to code documentation:
> timer.expires_from_now(seconds(5));

This does read pretty nicely, I must admit.

Boost list run by bdawes at, gregod at, cpdaniel at, john at