Created on2015-05-28.00:00:00 last changed109 months ago
Proposed resolution (October, 2015):
Change 6.8.3 [basic.align] paragraph 9 as follows:
If a request for a specific extended alignment in a specificcontext is not supported by an implementation, the programis ill-formed.Additionally, a request for runtimeallocation of dynamic storage for which the requestedalignment cannot be honored shall be treated as anallocation failure.
[Adopted at the February, 2016 meeting.]
According to 7.6.2.8 [expr.new] paragraph 1,
It is implementation-defined whether over-aligned typesare supported (6.8.3 [basic.align]).
However, there is no mechanism for informing an allocationfunction of the required alignment for over-aligned types.Nevertheless, 6.8.3 [basic.align] paragraph 9 says:
Additionally, a request for runtime allocation of dynamicstorage for which the requested alignment cannot be honoredshall be treated as an allocation failure.
This seems contradictory.
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2017-02-06 00:00:00 | admin | set | status: ready -> cd4 |
| 2015-11-10 00:00:00 | admin | set | messages: +msg5570 |
| 2015-05-28 00:00:00 | admin | create | |