This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 112e. See for the official list.


2238. Contradictory alignment requirements for allocation

Section:  []     Status: NAD     Submitter: Jason Merrill     Date: 2016-03-03

Speaking of the value returned by an allocation function, [] paragraph 2 says,

The pointer returned shall be suitably aligned so that it can be converted to a pointer of any complete object type with a fundamental alignment requirement

However, the various “Effects” specifications in 17.6.3 [new.delete] have a different formulation:

...allocate size bytes of storage suitably aligned to represent any object of that size.

These should be reconciled.

Rationale (November, 2016):

The adoption of paper P0035R4 has rendered this issue moot.