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

Zhihao Yuan lichray at gmail.com
Wed Aug 7 17:16:44 PDT 2013


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?

-- 
Zhihao Yuan, ID lichray
The best way to predict the future is to invent it.
___________________________________________________
4BSD -- http://4bsd.biz/



More information about the cfe-dev mailing list