Boost logo

Boost Users :

Subject: Re: [Boost-users] [Boost.Integer] On Win32, boost::uint_t<65>::fast has 64 bits?
From: John Maddock (boost.regex_at_[hidden])
Date: 2012-05-02 13:11:02


>> The easiest-to-manipulate, built-in, unsigned integral type with at
>> least N bits. The parameter should be a positive number. A
>> compile-time error results if the parameter is larger than the number
>> of bits in the largest integer type.
>
> If I change 65 to 66, the code fails to compile. Can something this
> simple really be a bug in the library? Yes, I know, I could check the
> source code, but I'm being lazy right now. If this is not a clear case
> of pilot error, I'll take a look.

Confirmed as a bug, and fixed in Trunk - can't really see how it was ever
expected to work really :-(

Thanks for the heads-up, John.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net