Subject: Re: [boost] [optional] Strict Aliasing Warnings on Trunk
From: Peter Dimov (pdimov_at_[hidden])
Date: 2009-12-18 15:54:51
Felipe Magno de Almeida wrote:
>>> IMO we should be using static_cast<T2*>(static_cast<void*>(x)) which
>>> is not implementation-defined.
This is, by the way, what optional does. Apparently, it isn't enough to
avoid the warning.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk