Boost logo

Boost :

From: Scott McMurray ([hidden])
Date: 2008-05-22 19:59:46

On Thu, May 22, 2008 at 4:56 PM, Joachim Faulhaber
<afojgo_at_[hidden]> wrote:
> as suggested by Paul Bristow in his response to my proposal on
> interval containers I started to integrate boost::date_time into my
> library examples.
> To my surprise I discovered that boost::date_time does not provide
> operator ++ (--) for it's date and time template classes. So the boost
> date and time classes are not Incrementable (Decrementable). One could
> say: they lack a tic-tac ;-) Which is for *time* kind of a major
> omission.

This came up in the units discussions, and had what I thought was a
rather powerful argument against the inclusion of increment and

for (some_time_type t = hours(9); t < hours(12+5); ++t) {
   // How many times does this loop?

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