|
Boost : |
Subject: Re: [boost] [chrono][ratio][boost_1_52_0_beta1] warning in user code
From: Daniel James (dnljms_at_[hidden])
Date: 2012-10-31 09:04:35
On 30 October 2012 18:56, Jeff Flinn <Jeffrey.Flinn_at_[hidden]> wrote:
>
> Yep, that clears up the warning. Thanks!
>
> static const boost::intmax_t nan = (boost::intmax_t)(1ULL <<
> (sizeof(boost::intmax_t) * CHAR_BIT - 1)) ;
>
> The above is what I used locally.
>
> Will this get into the boost 1.52.0 release?
If this is a warning fix, then I'm afraid it probably won't. The
release branch has been closed since Monday 29th, and a warning fix
isn't important enough to let through.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk