Re: [boost] Date iterators in Boost Date-Time

2003-08-14 Thread Jeff Garland
On Tue, 12 Aug 2003 10:44:45 +1000, Chris Trengove wrote > The date iterators in Boost Date-Time appear to be designed to > support iteration forward in time, being modelled on the STL > InputIterator. However, at times it is convenient to iterate > backwards in time, and the temptation is just

[boost] Date iterators in Boost Date-Time

2003-08-14 Thread Chris Trengove
The date iterators in Boost Date-Time appear to be designed to support iteration forward in time, being modelled on the STL InputIterator. However, at times it is convenient to iterate backwards in time, and the temptation is just to use something like day_iterator ditr(date,-1); ++ditr; that is;