[cfe-dev] [libc++] Two more places to use std::addressof

Howard Hinnant hhinnant at apple.com
Wed Aug 7 17:20:21 PDT 2013


On Aug 7, 2013, at 8:16 PM, Zhihao Yuan <lichray at gmail.com> wrote:

> On Wed, Aug 7, 2013 at 7:05 PM, Howard Hinnant <hhinnant at apple.com> wrote:
>> This treatment isn't needed in <future> because the type having its address taken is:
>> 
>>    typename aligned_storage<sizeof(_Rp), alignment_of<_Rp>::value>::type
> 
> Errahhh, I did not look into _Rp too deep... sry.
> 
> What about line 730 and 745?

I missed those.  I will take a closer look, thanks!

Howard




More information about the cfe-dev mailing list