Boost logo

Boost :

From: Phil Bouchard (philippe_at_[hidden])
Date: 2008-06-06 04:14:23

"Simonson, Lucanus J" <lucanus.j.simonson_at_[hidden]> wrote in message


> I forgot to mention that casting the pointer to signed integer will
> cause problems even if they happen to be the same bit width. This is
> because pointer values with a 1 in the msb will cast to negative integer
> values, which will cause the order of p and p+s to become inverted,
> leading to an error condition in numeric::interval, which will result in
> a null interval, according to interval's documentation. That would be
> difficult to debug.

Like previously mentionned that cast is simply a temporary solution but
hopefully void * types will be easy to integrate into interval<>. I will
also change int for unsigned until void * works.


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