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.