|
Boost : |
From: Kim Barrett (kab_at_[hidden])
Date: 2005-07-14 12:42:30
At 10:21 AM -0400 7/14/05, David Abrahams wrote:
>Scott Schurr <scott_schurr_at_[hidden]> writes:
>
> > There are specilizations for decimal and octal values.
> > This means there is some aliasing. ...
>
>I think the answer is confusing. I don't know what "aliasing" means
>in this case, ...
With the proposed implementation, I believe all of the following have
a value of 7:
binary_int<0111>::b
binary_int<73>::b
binary_int<0x49>::b
That's presumably what was meant by "there is some aliasing". Doesn't seem
like a particularly serious problem though.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk