From: Eric Woodruff (Eric.Woodruff_at_[hidden])
Date: 2002-10-09 11:53:42
The value of an integral type converted from a pointer is implementation
defined, of course because it is platform defined.. The standard explicitly
mentions conversion among pointers as being possible as I already quoted.
"Eric Woodruff" <Eric.Woodruff_at_[hidden]> wrote in message
> > You can't count on any particular behavior if you use reinterpret_cast
> > for anything, unless you read the compiler manual first.
> > [snip]
> There's no mention of that in the standard, and secondly, I cannot grasp
> the idea that the language framers would create a tool that was
> useless and completely unportable.
> Unsubscribe & other changes:
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk