Boost logo

Boost :

Subject: Re: [boost] [optional] Strict Aliasing Warnings on Trunk
From: Patrick Horgan (phorgan1_at_[hidden])
Date: 2009-12-18 15:27:39


Emil Dotchevski wrote:
> ...elision by patrick...
> I'm not sure what you mean. There is a standard implementation of
> reinterpret_cast.
>
It's just that the standard implementation is to leave it up to the
implementer what he wants to do.

 From 5.2.10 Reinterpret cast section of an October 2008 ballot of the spec:

3 The mapping performed by reinterpret_cast is implementation-defined. [
Note: it might, or might not,
produce a representation different from the original value. — end note ]

best regards,

Patrick


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk