From: David Abrahams (dave_at_[hidden])
Date: 2002-10-09 12:15:03
"Eric Woodruff" <Eric.Woodruff_at_[hidden]> writes:
> 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.
Yes, it's possible, but the results you get are
implementation-defined. I quoted you the standard text in my previous
> "Eric Woodruff" <Eric.Woodruff_at_[hidden]> wrote in message
> > [snip]
> > > 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 on the idea that the language framers would create a tool
> > that was practically useless and completely unportable.
Obviously you're having trouble grasping it.
-- David Abrahams * Boost Consulting dave_at_[hidden] * http://www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk