Boost logo

Boost :

Subject: Re: [boost] [date_time] default constructor for period?
From: Scott Bailey (Bailey_at_[hidden])
Date: 2015-04-30 10:24:11


Olaf,

Sort of, my pseudocode is wrong, but my patch works: last_ is set to begix_
- 1. end() is a function that returns last+1.

At least it works on my linux.

SB

On Thu, Apr 30, 2015 at 4:56 AM, Olaf van der Spek <ml_at_[hidden]> wrote:

> On Thu, Apr 30, 2015 at 12:27 AM, Scott Bailey <Bailey_at_[hidden]>
> wrote:
> > My changes to 'boost/date_time_time_period.hpp' follow. I have guarded
> > them with DATE_TIME_NO_DEFAULT_CONSTRUCTOR and simply set begin to
> > point_type() and end to begin_ -1;
>
> Shouldn't end_ == begin_?
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>

-- 
Scott Bailey

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk