|
Boost : |
From: Marco (mrcekets_at_[hidden])
Date: 2007-10-02 07:51:40
Are you speaking about rules provided in the C++ ISO standard ? Could you
point me to them ? (page, section). I'd like to give them a look .
Regards,
Marco
On Tue, 02 Oct 2007 12:32:22 +0200, Sebastian Redl
<sebastian.redl_at_[hidden]> wrote:
> David Abrahams wrote:
>> on Fri Sep 21 2007, "Marco Servetto" <marco.servetto-AT-gmail.com>
>> wrote:
>>
<snip>
>> C++ guarantees very, very little about reinterpret_cast, and certainly
>> not that.
>>
> The rules about layout compatibility of POD structs seem to guarantee
> exactly that. I don't know how else to interpret them - that is, how
> else to even be in a situation where the compatibility rules apply,
> except by using reinterpret_cast or a C-style cast.
>
> Sebastian Redl
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
-- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk