Title
Inadequate definition of alignment requirement
Status
nad
Section
6.7.6 [basic.align]
Submitter
Richard Smith

Created on 2014-02-24.00:00:00 last changed 126 months ago

Messages

Date: 2014-06-15.00:00:00

Rationale (June, 2014):

The existing wording is clear that the result alignof is the minimal alignment. If an operator returning the preferred alignment is desired, that request should be addressed to EWG.

Date: 2022-11-20.07:54:16

For certain data types on some hardware, a given object can be accessed most efficiently with one alignment but can be successfully accessed if allocated at a less-stringent boundary. Should the Standard specify the minimum or the preferred alignment as the value of the alignof?

History
Date User Action Args
2014-07-07 00:00:00adminsetmessages: + msg5110
2014-07-07 00:00:00adminsetstatus: open -> nad
2014-02-24 00:00:00admincreate