New issue
Advanced search Search tips

Issue 688061 link

Starred by 1 user

Issue metadata

Status: Started
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Clean up ManualConstructor / AlignedMemory

Project Member Reported by dcheng@chromium.org, Feb 2 2017

Issue description

We 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)
 
Cc: yutak@chromium.org
alignof/alignas previously discussed in https://groups.google.com/a/chromium.org/forum/#!topic/cxx/rwXN02jzzq0

Sign in to add a comment