Boost logo

Boost :

From: Daryle Walker (darylew_at_[hidden])
Date: 2005-09-25 08:22:18

On 9/25/05 5:43 AM, "Daryle Walker" <darylew_at_[hidden]> wrote:

> "integer_mask.hpp" doesn't use any extended integer types because
> "integer.hpp" didn't either.
> "integer.hpp" doesn't use any extended integer types because:
> 1. Their existence in compilers back then (2001) were more rare.
> 2. There were concerns back then that the extended types could not
> be used in value-based template parameters. That's important since
> Boost.CRC does that type of usage. I don't know how accurate that
> concern was then or is now.
> Possible solutions:
> A. Determine the largest integer type that can be used as a template
> parameter, and make new typedef-s if the result ever differs from
> (u)intmax_t on some platform. (Or we can always define the typedef
> to make it always available.) Make sure Boost.CRC uses the
> appropriate typedef.

This suggestion could be used for the bounded (numeric) type wrappers
mentioned in other message threads....

Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT hotmail DOT com

Boost list run by bdawes at, gregod at, cpdaniel at, john at