Clean up ManualConstructor / AlignedMemory |
|
Issue descriptionWe can use C++11's std:aligned_storage to replace both of these. In addition, we can use alignof() to replace ALIGNOF(). std::aligned_storage appears to be defined on all platforms that we build on, but we'll want a comprehensive set of tests to make sure that static alignment works as expected. (This will also need a C++11 style guide update) |
|
►
Sign in to add a comment |
|
Comment 1 by dcheng@chromium.org
, Feb 2 2017