
On Thu, May 22, 2008 at 4:56 PM, Joachim Faulhaber <afojgo@googlemail.com> 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 decrement. for (some_time_type t = hours(9); t < hours(12+5); ++t) { // How many times does this loop? }